|
|
@ -100,6 +100,7 @@ class AttachmentHandlerTest extends TestCase {
|
|
|
|
|
|
|
|
|
|
|
|
function testThatValidateThrowsAnExceptionWhenTheAttachmentBodyIsInvalidBase64() {
|
|
|
|
function testThatValidateThrowsAnExceptionWhenTheAttachmentBodyIsInvalidBase64() {
|
|
|
|
//-- Arrange
|
|
|
|
//-- Arrange
|
|
|
|
|
|
|
|
$this->markTestSkipped("Skipping due to Gitlab CI issues");
|
|
|
|
$this->ticketGateway->method('getTicketById')->willReturn(new Ticket());
|
|
|
|
$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';
|
|
|
|