diff --git a/api/Tests/BusinessLogic/Tickets/TicketCreatorTests/CreateTicketForCustomerTest.php b/api/Tests/BusinessLogic/Tickets/TicketCreatorTests/CreateTicketForCustomerTest.php index 8d4965fb..af9ae1c4 100644 --- a/api/Tests/BusinessLogic/Tickets/TicketCreatorTests/CreateTicketForCustomerTest.php +++ b/api/Tests/BusinessLogic/Tickets/TicketCreatorTests/CreateTicketForCustomerTest.php @@ -160,6 +160,8 @@ class CreateTicketTest extends TestCase { $status->id = 1; $this->statusGateway->method('getStatusForDefaultAction') ->willReturn($status); + $this->categoryGateway->method('getAllCategories') + ->willReturn(array()); } function testItSavesTheTicketToTheDatabase() {