Files
larksuite-cli/tests/cli_e2e/drive/helpers_test.go
Yuxuan Zhao 5280517d4b Feat/cli e2e tests with UAT (#528)
* test: expand and stabilize cli e2e workflows

* ci: run deadcode with test entrypoints
2026-04-17 16:57:17 +08:00

19 lines
449 B
Go

// Copyright (c) 2026 Lark Technologies Pte. Ltd.
// SPDX-License-Identifier: MIT
package drive
import (
"context"
"testing"
"github.com/stretchr/testify/require"
)
func createDriveFolder(t *testing.T, parentT *testing.T, ctx context.Context, name string, parentFolderToken string) string {
t.Helper()
folderToken := CreateDriveFolder(t, parentT, ctx, name, "bot", parentFolderToken)
require.NotEmpty(t, folderToken)
return folderToken
}