1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Updated to Laravel 5.8

This commit is contained in:
Dan Brown
2019-09-13 23:58:40 +01:00
parent 58f5508b05
commit 140298bd96
65 changed files with 282 additions and 767 deletions

View File

@ -4,6 +4,7 @@
use BookStack\Entities\Chapter;
use BookStack\Entities\Page;
use BookStack\Uploads\HttpFetcher;
use Illuminate\Support\Str;
class ExportTest extends TestCase
{
@ -79,7 +80,7 @@ class ExportTest extends TestCase
public function test_book_html_export_shows_chapter_descriptions()
{
$chapterDesc = 'My custom test chapter description ' . str_random(12);
$chapterDesc = 'My custom test chapter description ' . Str::random(12);
$chapter = Chapter::query()->first();
$chapter->description = $chapterDesc;
$chapter->save();