Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions common/SmokeTests/SmokeTest/KeyVaultTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ 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");
}

private static async Task GetSecret()
{
Console.Write("Getting that secret...");
Azure.Response<Secret> 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)
{
Expand All @@ -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");
}
}
Expand Down
10 changes: 5 additions & 5 deletions common/SmokeTests/SmokeTest/SmokeTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.0.0-preview.4" />
<PackageReference Include="Azure.Messaging.EventHubs" Version="5.0.0-preview.3" />
<PackageReference Include="Azure.Security.Keyvault.Secrets" Version="4.0.0-preview.4" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.0.0-preview.3" />
<PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="2.6.0" />
<PackageReference Include="Azure.Identity" Version="1.0.0-preview.5" />
<PackageReference Include="Azure.Messaging.EventHubs" Version="5.0.0-preview.4" />
<PackageReference Include="Azure.Security.Keyvault.Secrets" Version="4.0.0-preview.5" />
Comment thread
danieljurek marked this conversation as resolved.
<PackageReference Include="Azure.Storage.Blobs" Version="12.0.0-preview.4" />
<PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="2.8.1" />
<PackageReference Include="System.Reflection.Metadata" Version="1.6.0" />
</ItemGroup>

Expand Down