]> BookStack Code Mirror - bookstack/blobdiff - tests/ImageTest.php
Merge branch 'master' into translations
[bookstack] / tests / ImageTest.php
index 234988ba402c18da448ac0d5714c86f4b88edc50..031517cdb019d1d9380cf4161fc4dd44346d4399 100644 (file)
@@ -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
         ]);
-        
 
     }