mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Laravel 5.3 upgrade (#189)
* Started move to laravel 5.3 * Started updating login & registration flows for laravel 5.3 update * Updated app emails to notification system * Fixed registations bugs and removed email confirmation model * Fixed large portion of laravel post-upgrade issues * Fixed and tested LDAP process
This commit is contained in:
@ -59,8 +59,10 @@ class ImageTest extends TestCase
|
||||
|
||||
$this->assertTrue(file_exists(public_path($relPath)), 'Uploaded image exists');
|
||||
|
||||
$this->deleteImage($relPath);
|
||||
|
||||
$this->seeInDatabase('images', [
|
||||
'url' => $relPath,
|
||||
'url' => $this->baseUrl . $relPath,
|
||||
'type' => 'gallery',
|
||||
'uploaded_to' => $page->id,
|
||||
'path' => $relPath,
|
||||
@ -69,7 +71,7 @@ class ImageTest extends TestCase
|
||||
'name' => $imageName
|
||||
]);
|
||||
|
||||
$this->deleteImage($relPath);
|
||||
|
||||
}
|
||||
|
||||
public function test_image_delete()
|
||||
@ -85,7 +87,7 @@ class ImageTest extends TestCase
|
||||
$this->assertResponseOk();
|
||||
|
||||
$this->dontSeeInDatabase('images', [
|
||||
'url' => $relPath,
|
||||
'url' => $this->baseUrl . $relPath,
|
||||
'type' => 'gallery'
|
||||
]);
|
||||
|
||||
|
Reference in New Issue
Block a user