Skip to content

Commit

Permalink
OntologyTest::testCache: fix one test condition
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Nov 18, 2022
1 parent 670e280 commit bd08c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/OntologyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public function testCache(): void {
$t3 = microtime(true);
$o3 = new Ontology(self::$pdo, self::$schema, self::CACHE_FILE, 2);
$t3 = microtime(true) - $t3;
$this->assertGreaterThan($mtime1 + 3, filemtime(self::CACHE_FILE));
$this->assertGreaterThanOrEqual($mtime1 + 3, filemtime(self::CACHE_FILE));

$c = 'https://vocabs.acdh.oeaw.ac.at/schema#Collection';
$p = 'https://vocabs.acdh.oeaw.ac.at/schema#hasLicense';
Expand Down

0 comments on commit bd08c65

Please sign in to comment.