Browse Source

fix(tests): timestamps in DateTimeZone UTC

fix-api 0.7.0
JamesRezo 9 months ago
parent
commit
782887b8a1
  1. 3
      tests/SpipLoaderApiTest.php

3
tests/SpipLoaderApiTest.php

@ -45,8 +45,9 @@ class SpipLoaderApiTest extends TestCase
public function dataGetMTime()
{
$timestamp = stat(__DIR__ . '/releases/init.json')['mtime'];
return [
'found' => [1628961121, __DIR__ . '/releases/init.json'],
'found' => [$timestamp, __DIR__ . '/releases/init.json'],
'not found' => [0, ''],
];
}

Loading…
Cancel
Save