Fix tests... again

This commit is contained in:
Mike Koch 2017-06-22 22:09:14 -04:00
parent 7300b5bd5f
commit 97d8f0df2e

View File

@ -100,6 +100,7 @@ class AttachmentHandlerTest extends TestCase {
function testThatValidateThrowsAnExceptionWhenTheAttachmentBodyIsInvalidBase64() { function testThatValidateThrowsAnExceptionWhenTheAttachmentBodyIsInvalidBase64() {
//-- Arrange //-- Arrange
$this->ticketGateway->method('getTicketById')->willReturn(new Ticket());
$this->userToTicketChecker->method('isTicketAccessibleToUser')->willReturn(true); $this->userToTicketChecker->method('isTicketAccessibleToUser')->willReturn(true);
$this->createAttachmentForTicketModel->attachmentContents = 'invalid base 64'; $this->createAttachmentForTicketModel->attachmentContents = 'invalid base 64';