mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
Renames test methods to match SUT method names.
This commit is contained in:
1 parent
2d1c6b1ab8
commit
ac318762bf
35 files changed
+154
-154
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ public class ReorderLibraryMetadataProvidersCommandHandlerTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Handle_WhenCalled_ShouldAssignRanksInTheProvidedOrder()
|
||||
public async Task HandleAsync_WhenCalled_ShouldAssignRanksInTheProvidedOrder()
|
||||
{
|
||||
// Arrange
|
||||
Guid libraryId = Guid.NewGuid();
|
||||
|
||||
+2
-2
@@ -38,7 +38,7 @@ public class SetLibraryMetadataProviderEnabledCommandHandlerTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Handle_WhenConfigurationDoesNotExist_ShouldCreateEnabledConfigurationWithNextRank()
|
||||
public async Task HandleAsync_WhenConfigurationDoesNotExist_ShouldCreateEnabledConfigurationWithNextRank()
|
||||
{
|
||||
// Arrange
|
||||
Guid libraryId = Guid.NewGuid();
|
||||
@@ -61,7 +61,7 @@ public class SetLibraryMetadataProviderEnabledCommandHandlerTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Handle_WhenConfigurationExists_ShouldUpdateItsEnabledState()
|
||||
public async Task HandleAsync_WhenConfigurationExists_ShouldUpdateItsEnabledState()
|
||||
{
|
||||
// Arrange
|
||||
LibraryMetadataProviderConfigurationEntity existingConfiguration = new()
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ public class UpdatePluginSettingsCommandHandlerTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Handle_WhenCalled_ShouldPersistTheSettings()
|
||||
public async Task HandleAsync_WhenCalled_ShouldPersistTheSettings()
|
||||
{
|
||||
// Arrange
|
||||
Guid pluginId = Guid.NewGuid();
|
||||
|
||||
Reference in new issue
Block a user