diff --git a/test/sql/resourceToken.spec.ts b/test/sql/resourceToken.spec.ts index 5f8a700f8..157f773e9 100644 --- a/test/sql/resourceToken.spec.ts +++ b/test/sql/resourceToken.spec.ts @@ -11,10 +11,9 @@ import { resourceGroupName, subscriptionId, } from "../fx"; -import { getNoSqlRbacToken } from "../NoSqlTestSetup"; test("SQL account using Resource token", async ({ page }) => { - const nosqlAccountRbacToken = getNoSqlRbacToken() ?? ""; + const nosqlAccountRbacToken = process.env.NOSQL_TESTACCOUNT_TOKEN ?? ""; test.skip(nosqlAccountRbacToken.length > 0, "Resource tokens not supported when using data plane RBAC."); const credentials = getAzureCLICredentials(); diff --git a/test/testExplorer/TestExplorer.ts b/test/testExplorer/TestExplorer.ts index 3c1c36a1a..28f763a27 100644 --- a/test/testExplorer/TestExplorer.ts +++ b/test/testExplorer/TestExplorer.ts @@ -51,7 +51,7 @@ const initTestExplorer = async (): Promise => { case "gremlin": rbacToken = gremlinRbacToken; break; - case "tables": + case "table": rbacToken = tableRbacToken; break; case "cassandra":