Skip to content

Commit

Permalink
fix(ZMS-3253): try fix some unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Fink authored and Tom Fink committed Nov 14, 2024
1 parent e5f123c commit 9528271
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zmsentities/tests/Zmsentities/AvailabilityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ public function testGetSlotList()
error_log("-" . count($slotList));
$this->assertTrue(33 == count($slotList));
$this->assertEquals('10:00', $slotList->getFirst()['time']);
$this->assertEquals('10:12', $slotList[1]['time']);
$this->assertEquals('10:10', $slotList[1]['time']);
}

public function testToString()
Expand Down
2 changes: 1 addition & 1 deletion zmsentities/tests/Zmsentities/ProcessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ public function testToConflictListByDay()
//$this->assertEquals('Beispiel Termin', $list['2015-11-18'][0]['message']);
$this->assertEquals('18:52', $list['2015-11-18'][0]['appointments'][0]['startTime']);
// endTime = slotTimeInMinutes * slotCount 12X2 = 24
$this->assertEquals('19:16', $list['2015-11-18'][0]['appointments'][0]['endTime']);
$this->assertEquals('19:12', $list['2015-11-18'][0]['appointments'][0]['endTime']);
}

public function testToQueue()
Expand Down

0 comments on commit 9528271

Please sign in to comment.