From 97d8f0df2ef3228cebf58fb57a70a85882ab0931 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Thu, 22 Jun 2017 22:09:14 -0400 Subject: [PATCH] Fix tests... again --- api/Tests/BusinessLogic/Attachments/AttachmentHandlerTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/Tests/BusinessLogic/Attachments/AttachmentHandlerTest.php b/api/Tests/BusinessLogic/Attachments/AttachmentHandlerTest.php index 7ee2eb84..a3d5003f 100644 --- a/api/Tests/BusinessLogic/Attachments/AttachmentHandlerTest.php +++ b/api/Tests/BusinessLogic/Attachments/AttachmentHandlerTest.php @@ -100,6 +100,7 @@ class AttachmentHandlerTest extends TestCase { function testThatValidateThrowsAnExceptionWhenTheAttachmentBodyIsInvalidBase64() { //-- Arrange + $this->ticketGateway->method('getTicketById')->willReturn(new Ticket()); $this->userToTicketChecker->method('isTicketAccessibleToUser')->willReturn(true); $this->createAttachmentForTicketModel->attachmentContents = 'invalid base 64';