X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/91220239e5d545115ae5844fa978eb5541e4d77e..refs/pull/232/head:/tests/ImageTest.php diff --git a/tests/ImageTest.php b/tests/ImageTest.php index 234988ba4..031517cdb 100644 --- a/tests/ImageTest.php +++ b/tests/ImageTest.php @@ -57,7 +57,7 @@ class ImageTest extends TestCase $relPath = $this->uploadImage($imageName, $page->id); $this->assertResponseOk(); - $this->assertTrue(file_exists(public_path($relPath)), 'Uploaded image exists'); + $this->assertTrue(file_exists(public_path($relPath)), 'Uploaded image not found at path: '. public_path($relPath)); $this->deleteImage($relPath); @@ -70,7 +70,6 @@ class ImageTest extends TestCase 'updated_by' => $admin->id, 'name' => $imageName ]); - }