summaryrefslogtreecommitdiff
path: root/wrappers/php/tests
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/php/tests
parent19b583d03d3a9e654e149db971f1c752ad807f46 (diff)
Improve wrapper min sign time tests, add .NET version note
Diffstat (limited to 'wrappers/php/tests')
-rw-r--r--wrappers/php/tests/DiscoveryTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/php/tests/DiscoveryTest.php b/wrappers/php/tests/DiscoveryTest.php
index 4e4fbeb..0653eaa 100644
--- a/wrappers/php/tests/DiscoveryTest.php
+++ b/wrappers/php/tests/DiscoveryTest.php
@@ -21,7 +21,7 @@ class DiscoveryTest extends TestCase
$this->expectNotToPerformAssertions();
Discovery::verify(file_get_contents(self::TEST_DATA_DIR . '/server_list.json.minisig'),
file_get_contents(self::TEST_DATA_DIR . '/server_list.json'),
- 'server_list.json', 0);
+ 'server_list.json', 10);
}
public function testInvalidSignature(): void
@@ -45,7 +45,7 @@ class DiscoveryTest extends TestCase
$this->expectException(SignatureTooOldException::class);
Discovery::verify(file_get_contents(self::TEST_DATA_DIR . '/server_list.json.minisig'),
file_get_contents(self::TEST_DATA_DIR . '/server_list.json'),
- 'server_list.json', 1 << 31);
+ 'server_list.json', 11);
}
public function testUnknownExpectedFileName(): void