Skip to content

Commit 7be4a7c

Browse files
committed
fix unit test
1 parent 60c142e commit 7be4a7c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/bundles/CoreBundle/Tests/Unit/Helper/FileUploaderTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ public function testCouldNotMoveFile(): void
113113
->disableOriginalConstructor()
114114
->getMock();
115115

116+
$translatorMock->method('trans')
117+
->willReturn('Could not upload filed');
118+
116119
$fileMock = $this->getMockBuilder(UploadedFile::class)
117120
->disableOriginalConstructor()
118121
->getMock();

0 commit comments

Comments
 (0)