]> BookStack Code Mirror - bookstack/commitdiff
Test for cover image
authorNilesh Deepak <redacted>
Sat, 15 Jul 2017 13:09:13 +0000 (18:39 +0530)
committerNilesh Deepak <redacted>
Sat, 15 Jul 2017 13:09:13 +0000 (18:39 +0530)
tests/Entity/EntityTest.php
tests/ImageTest.php

index b818fcc38cf16934d66a3d170126471fbdcb7c9d..8481ae29967784910dadbd102a90dac388f6002f 100644 (file)
@@ -294,3 +294,4 @@ class EntityTest extends BrowserKitTest
         return '/uploads/images/' . $type . '/' . Date('Y-m-M') . '/' . $fileName;
     }
 }
+
index 3bb41138bae7d50dd8d9821fed27bf0ad54ebad0..966679bce82d5ee98cdbff9abb1eae00610b60f8 100644 (file)
@@ -47,7 +47,7 @@ class ImageTest extends BrowserKitTest
     }
 
 
-    public function test_image_upload()
+    protected function test_image_upload()
     {
         $page = \BookStack\Page::first();
         $this->asAdmin();
Morty Proxy This is a proxified and sanitized view of the page, visit original site.