Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mshakirdfe committed Sep 16, 2024
1 parent b2a8622 commit 10d00b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private static void ConfigureAppConfiguration(IWebHostBuilder builder, string ap
new ("AcademiesApiKey", "f6cbde5b-1252-4439-864c-16956af671d2"),
new ("RoleIds:ConversionCreation", "ConversionCreation"),
new ("RoleIds:TransferCreation", "TransferCreation"),
new ("RoleIds:Support", "Support")
new ("RoleIds:SuperAdmin", "SuperAdmin")
};
configBuilder.AddInMemoryCollection(inMemorySettings!);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public RoleCapabilitiesTests()
[Theory]
[InlineData("ConversionCreation")]
[InlineData("ConversionCreation", "TransferCreation")]
[InlineData("ConversionCreation", "TransferCreation", "Support")]
[InlineData("ConversionCreation", "TransferCreation", "SuperAdmin")]
public async Task GetUserRoleCapabilities_ShouldReturnCapabilities(params string[] roles)
{
// Arrange
Expand Down

0 comments on commit 10d00b7

Please sign in to comment.