Fix testSaveIsStarredAfterPatch

This commit is contained in:
Yassine Guedidi
2023-08-21 23:52:50 +02:00
parent 981d6a47da
commit a3b64611f8
2 changed files with 6 additions and 1 deletions

View File

@ -1065,7 +1065,7 @@ class EntryRestControllerTest extends WallabagApiTestCase
$content = json_decode($this->client->getResponse()->getContent(), true);
$this->assertSame(1, $content['is_starred']);
$this->assertGreaterThanOrEqual($now->getTimestamp(), (new \DateTime($content['starred_at']))->getTimestamp());
$this->assertGreaterThanOrEqual((new \DateTime($content['starred_at']))->getTimestamp(), $now->getTimestamp());
}
public function dataForEntriesExistWithUrl()