mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 11:11:10 +00:00
Standardizes test projects against conventions
This commit is contained in:
1 parent
59e16d645a
commit
ced1f778c4
78 files changed
+283
-201
No files matched your search
+6
-6
@@ -29,7 +29,7 @@ public class JwtSettingsDtoValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void JwtSettingsModelValidator_WhenAllPropertiesValid_ShouldNotHaveValidationError()
|
||||
public void Validate_WhenAllPropertiesValid_ShouldNotHaveValidationError()
|
||||
{
|
||||
// Arrange
|
||||
JwtSettingsDto model = _fixture.Build<JwtSettingsDto>()
|
||||
@@ -47,7 +47,7 @@ public class JwtSettingsDtoValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void JwtSettingsModelValidator_WhenSecretKeyIsEmpty_ShouldHaveValidationErrors()
|
||||
public void Validate_WhenSecretKeyIsEmpty_ShouldHaveValidationErrors()
|
||||
{
|
||||
// Arrange
|
||||
JwtSettingsDto model = _fixture.Build<JwtSettingsDto>()
|
||||
@@ -67,7 +67,7 @@ public class JwtSettingsDtoValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void JwtSettingsModelValidator_WhenSecretKeyTooShort_ShouldHaveValidationError()
|
||||
public void Validate_WhenSecretKeyTooShort_ShouldHaveValidationError()
|
||||
{
|
||||
// Arrange
|
||||
JwtSettingsDto model = _fixture.Build<JwtSettingsDto>()
|
||||
@@ -89,7 +89,7 @@ public class JwtSettingsDtoValidatorTests
|
||||
[InlineData(0)]
|
||||
[InlineData(-1)]
|
||||
[InlineData(-60)]
|
||||
public void JwtSettingsModelValidator_WhenExpiryMinutesNotPositive_ShouldHaveValidationError(int minutes)
|
||||
public void Validate_WhenExpiryMinutesNotPositive_ShouldHaveValidationError(int minutes)
|
||||
{
|
||||
// Arrange
|
||||
JwtSettingsDto model = _fixture.Build<JwtSettingsDto>()
|
||||
@@ -108,7 +108,7 @@ public class JwtSettingsDtoValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void JwtSettingsModelValidator_WhenIssuerIsEmpty_ShouldHaveValidationError()
|
||||
public void Validate_WhenIssuerIsEmpty_ShouldHaveValidationError()
|
||||
{
|
||||
// Arrange
|
||||
JwtSettingsDto model = _fixture.Build<JwtSettingsDto>()
|
||||
@@ -127,7 +127,7 @@ public class JwtSettingsDtoValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void JwtSettingsModelValidator_WhenAudienceIsEmpty_ShouldHaveValidationError()
|
||||
public void Validate_WhenAudienceIsEmpty_ShouldHaveValidationError()
|
||||
{
|
||||
// Arrange
|
||||
JwtSettingsDto model = _fixture.Build<JwtSettingsDto>()
|
||||
|
||||
Reference in new issue
Block a user