summaryrefslogtreecommitdiff
path: root/wrappers/csharp/EduVpnCommonTests/VerifyTests.cs
diff options
context:
space:
mode:
authorStevenWdV <stevenwdv@gmail.com>2022-02-09 17:02:20 +0100
committerStevenWdV <stevenwdv@gmail.com>2022-02-09 17:02:20 +0100
commite0228bca0f8cc2133a4efbbc5ed62bf01fda3783 (patch)
tree729d7cc508ab167a8f529f2faad1653996b5b371 /wrappers/csharp/EduVpnCommonTests/VerifyTests.cs
parent19b583d03d3a9e654e149db971f1c752ad807f46 (diff)
Improve wrapper min sign time tests, add .NET version note
Diffstat (limited to 'wrappers/csharp/EduVpnCommonTests/VerifyTests.cs')
-rw-r--r--wrappers/csharp/EduVpnCommonTests/VerifyTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/csharp/EduVpnCommonTests/VerifyTests.cs b/wrappers/csharp/EduVpnCommonTests/VerifyTests.cs
index 2d4a565..c41696b 100644
--- a/wrappers/csharp/EduVpnCommonTests/VerifyTests.cs
+++ b/wrappers/csharp/EduVpnCommonTests/VerifyTests.cs
@@ -24,7 +24,7 @@ namespace EduVpnCommonTests
File.ReadAllBytes($"{testDataDir_}/{sigFile}"),
File.ReadAllBytes($"{testDataDir_}/{jsonFile}"),
expectedFileName,
- DateTimeOffset.UnixEpoch);
+ DateTimeOffset.FromUnixTimeSeconds(10));
[Test]
[TestCase("server_list.json.minisig", "server_list.json", "server_list.json")]
@@ -67,7 +67,7 @@ namespace EduVpnCommonTests
File.ReadAllBytes($"{testDataDir_}/{sigFile}"),
File.ReadAllBytes($"{testDataDir_}/{jsonFile}"),
expectedFileName,
- DateTimeOffset.MaxValue));
+ DateTimeOffset.FromUnixTimeSeconds(11)));
[Test]
[TestCase("other_list.json.minisig", "other_list.json", "other_list.json")]