Merge branch 'fixes' of git://github.com/imanghafoori1/BookStack into imanghafoori1-fixes

This commit is contained in:
Dan Brown 2020-10-31 22:11:27 +00:00
commit 474770af51
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
7 changed files with 6 additions and 8 deletions

View File

@ -3,11 +3,8 @@
use BookStack\Auth\Permissions;
use BookStack\Auth\Role;
use BookStack\Entities\Book;
use BookStack\Entities\Bookshelf;
use BookStack\Entities\Chapter;
use BookStack\Entities\Entity;
use BookStack\Entities\EntityProvider;
use BookStack\Entities\Page;
use BookStack\Ownable;
use Illuminate\Database\Connection;
use Illuminate\Database\Eloquent\Builder;

View File

@ -3,7 +3,7 @@
use BookStack\Entities\Page;
use BookStack\Exceptions\ImageUploadException;
use BookStack\Http\Controllers\Controller;
use BookStack\Repos\PageRepo;
use BookStack\Entities\Repos\PageRepo;
use BookStack\Uploads\Image;
use BookStack\Uploads\ImageRepo;
use Exception;

View File

@ -35,6 +35,7 @@
"socialiteproviders/twitch": "^5.0"
},
"require-dev": {
"imanghafoori/laravel-microscope": "^1.0",
"barryvdh/laravel-debugbar": "^3.2.8",
"barryvdh/laravel-ide-helper": "^2.6.4",
"fzaninotto/faker": "^1.4",

View File

@ -58,7 +58,7 @@ class RestrictionsTest extends BrowserKitTest
public function test_bookshelf_update_restriction()
{
$shelf = BookShelf::first();
$shelf = Bookshelf::first();
$this->actingAs($this->user)
->visit($shelf->getUrl('/edit'))

View File

@ -1,4 +1,4 @@
<?php namespace Test\User;
<?php namespace Tests\User;
use BookStack\Api\ApiToken;
use Carbon\Carbon;

View File

@ -1,4 +1,4 @@
<?php namespace Test\User;
<?php namespace Tests\User;
use Tests\TestCase;

View File

@ -1,4 +1,4 @@
<?php namespace Test\User;
<?php namespace Tests\User;
use Activity;
use BookStack\Auth\User;