Skip to content

Commit

Permalink
Merge branch 'fixes' of git://github.com/imanghafoori1/BookStack into…
Browse files Browse the repository at this point in the history
… imanghafoori1-fixes
  • Loading branch information
ssddanbrown committed Oct 31, 2020
2 parents 78be644 + 7a5442e commit 474770a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 8 deletions.
3 changes: 0 additions & 3 deletions app/Auth/Permissions/PermissionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Images/ImageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tests/Permissions/RestrictionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function test_bookshelf_view_restriction()

public function test_bookshelf_update_restriction()
{
$shelf = BookShelf::first();
$shelf = Bookshelf::first();

$this->actingAs($this->user)
->visit($shelf->getUrl('/edit'))
Expand Down
2 changes: 1 addition & 1 deletion tests/User/UserApiTokenTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php namespace Test\User;
<?php namespace Tests\User;

use BookStack\Api\ApiToken;
use Carbon\Carbon;
Expand Down
2 changes: 1 addition & 1 deletion tests/User/UserPreferencesTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php namespace Test\User;
<?php namespace Tests\User;

use Tests\TestCase;

Expand Down
2 changes: 1 addition & 1 deletion tests/User/UserProfileTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php namespace Test\User;
<?php namespace Tests\User;

use Activity;
use BookStack\Auth\User;
Expand Down

0 comments on commit 474770a

Please sign in to comment.