diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-11-18 13:47:26 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-11-18 13:47:26 +0000 |
| commit | fe2781093e8f3c0861661b9c55737d615c8741b9 (patch) | |
| tree | 3317720c41f9a256c9d6f5986612f84e93a96c8f /tests/jsonapi/ConsultationsBookingCreateTest.php | |
| parent | c0fd6686718362bd7340243f29bbd922faf6e78c (diff) | |
fix tests for consultations, fixes #1794
Closes #1794
Merge request studip/studip!1175
Diffstat (limited to 'tests/jsonapi/ConsultationsBookingCreateTest.php')
| -rw-r--r-- | tests/jsonapi/ConsultationsBookingCreateTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/jsonapi/ConsultationsBookingCreateTest.php b/tests/jsonapi/ConsultationsBookingCreateTest.php index 54ad2b4..d0af9da 100644 --- a/tests/jsonapi/ConsultationsBookingCreateTest.php +++ b/tests/jsonapi/ConsultationsBookingCreateTest.php @@ -28,12 +28,12 @@ class ConsultationsBookingCreateTest extends Codeception\Test\Unit ); } - public function testAutorMayCreateNotCreateBookingDueToLock(): void + public function testAutorMayNotCreateBookingDueToLock(): void { $credentials = $this->tester->getCredentialsForTestDozent(); $range = User::find($credentials['id']); - $block = $this->createBlockWithSlotsForRange($range, ['lock_time' => 2]); + $block = $this->createBlockWithSlotsForRange($range, true); $slot = $this->getSlotFromBlock($block); $response = $this->createBooking( |
