From 48fa1bf2ffabab68896b148de1361e7f1666daba Mon Sep 17 00:00:00 2001 From: Rahul Srivastava Date: Thu, 10 Aug 2023 13:21:00 +0530 Subject: [PATCH] Test --- .github/workflows/testMD.yaml | 1 - TestOSS.cs | 5 ----- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/testMD.yaml b/.github/workflows/testMD.yaml index 1cffb93..75c88c7 100644 --- a/.github/workflows/testMD.yaml +++ b/.github/workflows/testMD.yaml @@ -21,7 +21,6 @@ jobs: dotnet-version: '6.0.412' - name: Build and test run: | - echo "MY_SECRET=${{ secrets.CLIENT_ID }}" >> $GITHUB_ENV dotnet restore dotnet test env: diff --git a/TestOSS.cs b/TestOSS.cs index 1ac47d0..310307b 100644 --- a/TestOSS.cs +++ b/TestOSS.cs @@ -24,14 +24,9 @@ public record Token(string AccessToken, DateTime ExpiresAt); public static async Task ClassInitializeAsync(TestContext testContext) { - Console.WriteLine("----------------------\n"); Console.WriteLine(_clientId); Console.WriteLine(_clientSecret); - - Console.WriteLine("\n----------------------"); - - 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());