diff --git a/common/SmokeTests/SmokeTest/KeyVaultTest.cs b/common/SmokeTests/SmokeTest/KeyVaultTest.cs index e227443873fd..2928eacb4e9f 100644 --- a/common/SmokeTests/SmokeTest/KeyVaultTest.cs +++ b/common/SmokeTests/SmokeTest/KeyVaultTest.cs @@ -43,7 +43,7 @@ private static async Task SetNewSecret() { Console.Write("Setting a secret..."); var newSecret = new Secret(SecretName, SecretValue); - await client.SetAsync(newSecret); + await client.SetSecretAsync(newSecret); Console.WriteLine("\tdone"); } @@ -51,7 +51,7 @@ private static async Task GetSecret() { Console.Write("Getting that secret..."); Azure.Response secret; - secret = await client.GetAsync(SecretName); + secret = await client.GetSecretAsync(SecretName); //Verify that the secret received is the one that was set previously if (secret.Value.Value != SecretValue) { @@ -63,7 +63,7 @@ private static async Task GetSecret() private static async Task CleanUp() { Console.Write("Cleaning up the resource..."); - await client.DeleteAsync(SecretName); + await client.DeleteSecretAsync(SecretName); Console.WriteLine("\tdone"); } } diff --git a/common/SmokeTests/SmokeTest/SmokeTest.csproj b/common/SmokeTests/SmokeTest/SmokeTest.csproj index c40c25dea922..23dc74c95533 100644 --- a/common/SmokeTests/SmokeTest/SmokeTest.csproj +++ b/common/SmokeTests/SmokeTest/SmokeTest.csproj @@ -6,11 +6,11 @@ - - - - - + + + + +