diff --git a/tests/Integration/Api/ApiV3Test.php b/tests/Integration/Api/ApiV3Test.php index 262679cd2..4641d9644 100644 --- a/tests/Integration/Api/ApiV3Test.php +++ b/tests/Integration/Api/ApiV3Test.php @@ -559,6 +559,13 @@ public function testGetFullForm(array $expected): void { unset($data['lastUpdated']); unset($expected['lastUpdated']); + // Allow a 10 seconds diff for lockedUntil between expectation and data + if (isset($data['lockedUntil'])) { + $this->assertEqualsWithDelta($expected['lockedUntil'], $data['lockedUntil'], 10); + } + unset($data['lockedUntil']); + unset($expected['lockedUntil']); + $this->assertEquals(200, $resp->getStatusCode()); $this->assertEquals($expected, $data); }