Fix tests... again
This commit is contained in:
parent
7300b5bd5f
commit
97d8f0df2e
@ -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';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user