Skip to content

Commit 5fc1af2

Browse files
committed
test: add unit tests for JwtSettings to validate configuration properties
1 parent d013593 commit 5fc1af2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
namespace Ecommerce.UnitTests;
2+
3+
public partial class Utils
4+
{
5+
public record JwtSettings
6+
{
7+
public static int ExpiryMinutes { get; } = 60;
8+
public static string Issuer { get; } = "Ecommerce.Issuer";
9+
public static string Audience { get; } = "Ecommerce.Audience";
10+
public static string SecretKey { get; } = "secretkey-secretkey-secretkey-secretkey-secretkey";
11+
}
12+
}

0 commit comments

Comments
 (0)