From 4c54ec677ca48ad76c47864862a39266900ed4ae Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Fri, 18 May 2018 20:46:46 -0400 Subject: [PATCH] Fixing tests, round two --- .../Tickets/TicketCreatorTests/CreateTicketForCustomerTest.php | 2 ++ 1 file changed, 2 insertions(+) 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() {