Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit c190ea6

Browse files
barbara79Jens Schulze
andauthored
Update tests/integration/ApiClient/ApiClientTest.php
Co-Authored-By: Jens Schulze <[email protected]>
1 parent 9b9f741 commit c190ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/ApiClient/ApiClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testApiClient()
3636
$this->assertNotNull($result);
3737
$this->assertNotNull($result->getId());
3838

39-
$calcDate = date_modify(new \DateTime(), '+' . $deleteDaysAfterCreation . 'day');
39+
$calcDate = new \DateTime('+' . $deleteDaysAfterCreation . 'day');
4040
$this->assertEquals($calcDate->format('Y-m-d'), $result->getDeleteAt()->format('Y-m-d'));
4141

4242
$getByIdRequest = ApiClientByIdGetRequest::ofId($result->getId());

0 commit comments

Comments
 (0)