Merge branch 'fixes' of git://github.com/imanghafoori1/BookStack into imanghafoori1-fixes
This commit is contained in:
commit
474770af51
7 changed files with 6 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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'))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?php namespace Test\User;
|
||||
<?php namespace Tests\User;
|
||||
|
||||
use BookStack\Api\ApiToken;
|
||||
use Carbon\Carbon;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?php namespace Test\User;
|
||||
<?php namespace Tests\User;
|
||||
|
||||
use Tests\TestCase;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?php namespace Test\User;
|
||||
<?php namespace Tests\User;
|
||||
|
||||
use Activity;
|
||||
use BookStack\Auth\User;
|
||||
|
|
Loading…
Reference in a new issue