Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronny Birkeli committed May 22, 2023
1 parent 22aeff2 commit d061817
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/Altinn.Codelists.Tests/SSB/Extensions/ExtensionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ public void AddSSBClassifications()

IServiceProvider serviceProvider = services.BuildServiceProvider();

services.Select(x => x.ServiceType == typeof(IClassificationsClient)).Should().HaveCount(2);
IEnumerable<IClassificationsClient> classificationsClients = serviceProvider.GetServices<IClassificationsClient>();

classificationsClients.Should().HaveCount(1);
}
}
}

0 comments on commit d061817

Please sign in to comment.