diff --git a/tests/php/unit/Controller/ViewControllerTest.php b/tests/php/unit/Controller/ViewControllerTest.php index 1961aaf268..1742d7bdb3 100755 --- a/tests/php/unit/Controller/ViewControllerTest.php +++ b/tests/php/unit/Controller/ViewControllerTest.php @@ -137,18 +137,6 @@ public function testIndex(): void { ->method('getAllAppointmentConfigurations') ->with($this->userId) ->willReturn([new AppointmentConfig()]); - $this->categoriesService->expects(self::once()) - ->method('getCategories') - ->with('user123') - ->willReturn([ - [ - 'group' => 'Test', - 'options' => [ - 'label' => 'hawaii', - 'value' => 'pizza', - ], - ], - ]); $this->initialStateService->expects(self::exactly(21)) ->method('provideInitialState') ->withConsecutive(