Skip to content

Commit

Permalink
Changes to potentially revert
Browse files Browse the repository at this point in the history
  • Loading branch information
distantnative committed Dec 27, 2023
1 parent 9fc741d commit 23afde2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"@test"
],
"fix": "php-cs-fixer fix",
"test": "phpunit --stderr",
"test": "phpunit --stderr --display-warnings",
"test:coverage": "XDEBUG_MODE=coverage phpunit --stderr --coverage-html=tests/coverage",
"zip": "composer archive --format=zip --file=dist"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Cms/Media/MediaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public function testThumbWhenGenerationFails()
F::write(dirname($file->mediaRoot()) . '/.jobs/' . $file->filename() . '.json', $jobString);

$this->expectException(\Exception::class);
$this->expectExceptionMessage('File not found');
$this->expectExceptionMessage('No such file');

// but the file cannot be found in the media folder
Media::thumb($file, $file->mediaHash(), $file->filename());
Expand Down

0 comments on commit 23afde2

Please sign in to comment.