Skip to content

Commit

Permalink
tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
KarishmaGhiya committed Apr 26, 2024
1 parent 3b96c8a commit c78dbdf
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -7,7 +7,7 @@ import { assert } from "@azure-tools/test-utils";

describe("AzurePipelinesServiceConnectionCredential", function () {
const scope = "https://vault.azure.net/.default";
const tenantId = env.IDENTITY_SP_TENANT_ID || env.AZURE_TENANT_ID!;
const tenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47";
// const clientId = env.IDENTITY_SP_CLIENT_ID || env.AZURE_CLIENT_ID!;

it("authenticates with a valid service connection", async function () {
Expand All @@ -21,7 +21,7 @@ describe("AzurePipelinesServiceConnectionCredential", function () {
const credential = new AzurePipelinesServiceConnectionCredential(
tenantId,
clientId,
existingServiceConnectionId,
existingServiceConnectionId
);
try {
const token = await credential.getToken(scope);
Expand Down

0 comments on commit c78dbdf

Please sign in to comment.