mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Added and ran PHPCS
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Tests\Actions;
|
||||
|
||||
use function app;
|
||||
use BookStack\Actions\Activity;
|
||||
use BookStack\Actions\ActivityLogger;
|
||||
use BookStack\Actions\ActivityType;
|
||||
@@ -12,7 +11,6 @@ use BookStack\Entities\Models\Page;
|
||||
use BookStack\Entities\Repos\PageRepo;
|
||||
use BookStack\Entities\Tools\TrashCan;
|
||||
use Carbon\Carbon;
|
||||
use function config;
|
||||
use Tests\TestCase;
|
||||
|
||||
class AuditLogTest extends TestCase
|
||||
|
@@ -80,7 +80,7 @@ class AttachmentTest extends TestCase
|
||||
|
||||
$expectedResp = [
|
||||
'name' => $fileName,
|
||||
'uploaded_to'=> $page->id,
|
||||
'uploaded_to' => $page->id,
|
||||
'extension' => 'txt',
|
||||
'order' => 1,
|
||||
'created_by' => $admin->id,
|
||||
|
@@ -3,6 +3,7 @@
|
||||
namespace Tests;
|
||||
|
||||
use BookStack\Http\Request;
|
||||
|
||||
use function request;
|
||||
use function url;
|
||||
|
||||
|
Reference in New Issue
Block a user