Skip to content

Commit

Permalink
fix discoverytests
Browse files Browse the repository at this point in the history
  • Loading branch information
sahilpwr committed Oct 19, 2023
1 parent 320a553 commit bae19dd
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<Compile Remove="NewFolder\**" />
<EmbeddedResource Remove="NewFolder\**" />
<None Remove="NewFolder\**" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\src\Azure.ResourceManager.SelfHelp.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace Azure.ResourceManager.SelfHelp.Tests
using Azure.Core.TestFramework;
using Azure.Core;
using System.Threading.Tasks;
using Azure.ResourceManager.SelfHelp.Tests;
using NUnit.Framework;
using System;
using Azure.ResourceManager.SelfHelp.Models;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Azure.ResourceManager.SelfHelp.Tests.Scenario
namespace Azure.ResourceManager.SelfHelp.Tests
{
using Azure.Core.TestFramework;
using Azure.Core;
using System.Threading.Tasks;
using Azure.ResourceManager.SelfHelp.Tests;
using NUnit.Framework;
using System;
using Azure.ResourceManager.SelfHelp.Models;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace Azure.ResourceManager.SelfHelp.Tests
using Azure.Core.TestFramework;
using Azure.Core;
using System.Threading.Tasks;
using Azure.ResourceManager.SelfHelp.Tests;
using NUnit.Framework;
using System;
using Azure.ResourceManager.SelfHelp.Models;
Expand All @@ -28,7 +27,7 @@ public async Task ListDisocverySolutionsTest()
var insightsResourceName = Recording.GenerateAssetName("testResource");
ResourceIdentifier scope = new ResourceIdentifier($"/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{resourceName}");

var listDisocverySolutionsData = Client.GetSelfHelpDiscoverySolutionsAsync(scope);
var listDisocverySolutionsData = Client.GetSelfHelpDiscoverySolutionsAsync(scope, "ProblemClassificationId eq 'a93e16a3-9f43-a003-6ac0-e5f6caa90cb9'");
var response = await listDisocverySolutionsData.ToEnumerableAsync();
Assert.NotNull(response.First());
}
Expand Down

0 comments on commit bae19dd

Please sign in to comment.