Skip to content

Commit

Permalink
Test env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
srivastavarahull committed Aug 10, 2023
1 parent 3e98e53 commit 9cdd635
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/testMD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
dotnet restore
dotnet test
env:
Client_Id: ${{ secrets.CLIENT_ID }}
Client_Secret: ${{ secrets.CLIENT_SECRET }}
# env:
# Client_Id: ${{ secrets.CLIENT_ID }}
# Client_Secret: ${{ secrets.CLIENT_SECRET }}

2 changes: 1 addition & 1 deletion TestOSS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static async Task ClassInitializeAsync(TestContext testContext)

dynamic auth = await new TwoLeggedApi().AuthenticateAsync(_clientId, _clientSecret, "client_credentials", new Scope[] { Scope.BucketCreate, Scope.BucketRead, Scope.DataRead, Scope.DataWrite, Scope.DataCreate });

Console.WriteLine(auth.ToString());
// Console.WriteLine(auth.ToString());
token = auth.access_token;
SDKManager sdkManager = SdkManagerBuilder
.Create() // Creates SDK Manager Builder itself.
Expand Down

0 comments on commit 9cdd635

Please sign in to comment.