Skip to content

Commit

Permalink
feat(ZMS-3430): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
manjencic committed Jan 23, 2025
1 parent 1f16745 commit 1c913a8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions zmsdb/tests/Zmsdb/SlotTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,6 @@ public function testWriteCanceledByTime()
$dateTime = new \DateTimeImmutable('2016-04-01 11:55:00');
$slotList = (new Slot())->readRowsByScopeAndDate($scope, $dateTime->modify('+7days'));
$this->assertEquals($slotList[0]['status'], 'free');
(new Slot())->writeCanceledByTime($dateTime->modify('+8days'));
$slotList = (new Slot())->readRowsByScopeAndDate($scope, $dateTime->modify('+7days'));
$this->assertEquals($slotList[0]['status'], 'cancelled');
$slotList = (new Slot())->readRowsByScopeAndDate($scope, $dateTime->modify('+14days'));
$this->assertEquals($slotList[0]['status'], 'free');

Expand Down

0 comments on commit 1c913a8

Please sign in to comment.