mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 10:11:10 +00:00
Inlines fixtures instantiation.
This commit is contained in:
1 parent
b648e2f054
commit
59e16d645a
147 files changed
+190
-898
No files matched your search
+1
-9
@@ -13,15 +13,7 @@ namespace Lumina.Infrastructure.UnitTests.Core.Authentication;
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class QRCodeGeneratorTests
|
||||
{
|
||||
private readonly QRCodeGenerator _sut;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="QRCodeGeneratorTests"/> class.
|
||||
/// </summary>
|
||||
public QRCodeGeneratorTests()
|
||||
{
|
||||
_sut = new QRCodeGenerator();
|
||||
}
|
||||
private readonly QRCodeGenerator _sut = new();
|
||||
|
||||
[Fact]
|
||||
public void GenerateQrCodeDataUri_WhenCalled_ShouldReturnValidDataUri()
|
||||
|
||||
+1
-9
@@ -11,15 +11,7 @@ namespace Lumina.Infrastructure.UnitTests.Core.Authentication;
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class TokenGeneratorTests
|
||||
{
|
||||
private readonly TokenGenerator _sut;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TokenGeneratorTests"/> class.
|
||||
/// </summary>
|
||||
public TokenGeneratorTests()
|
||||
{
|
||||
_sut = new TokenGenerator();
|
||||
}
|
||||
private readonly TokenGenerator _sut = new();
|
||||
|
||||
[Fact]
|
||||
public void GenerateToken_WhenCalled_ShouldGenerateNonEmptyToken()
|
||||
|
||||
+1
-9
@@ -12,15 +12,7 @@ namespace Lumina.Infrastructure.UnitTests.Core.Authentication;
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class TotpTokenGeneratorTests
|
||||
{
|
||||
private readonly TotpTokenGenerator _sut;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TotpTokenGeneratorTests"/> class.
|
||||
/// </summary>
|
||||
public TotpTokenGeneratorTests()
|
||||
{
|
||||
_sut = new TotpTokenGenerator();
|
||||
}
|
||||
private readonly TotpTokenGenerator _sut = new();
|
||||
|
||||
[Fact]
|
||||
public void GenerateSecret_WhenCalled_ShouldGenerateNonEmptySecret()
|
||||
|
||||
@@ -12,15 +12,7 @@ namespace Lumina.Infrastructure.UnitTests.Core.Security;
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class HashServiceTests
|
||||
{
|
||||
private readonly PasswordHashService _sut;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="HashServiceTests"/> class.
|
||||
/// </summary>
|
||||
public HashServiceTests()
|
||||
{
|
||||
_sut = new PasswordHashService();
|
||||
}
|
||||
private readonly PasswordHashService _sut = new();
|
||||
|
||||
[Fact]
|
||||
public void HashString_WhenCalled_ShouldReturnNonEmptyHash()
|
||||
|
||||
Reference in new issue
Block a user