X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a6c6c6e300c60e4dd2b02501c827571da1adf1be..refs/pull/234/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 ]); - }