mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Apply fixes from StyleCI
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
<?php namespace Tests\Api;
|
||||
<?php
|
||||
|
||||
namespace Tests\Api;
|
||||
|
||||
use BookStack\Auth\User;
|
||||
use Tests\TestCase;
|
||||
@ -34,10 +36,10 @@ class ApiDocsTest extends TestCase
|
||||
$resp->assertStatus(200);
|
||||
$resp->assertHeader('Content-Type', 'application/json');
|
||||
$resp->assertJson([
|
||||
'docs' => [ [
|
||||
'docs' => [[
|
||||
'name' => 'docs-display',
|
||||
'uri' => 'api/docs'
|
||||
] ]
|
||||
'uri' => 'api/docs',
|
||||
]],
|
||||
]);
|
||||
}
|
||||
|
||||
@ -55,4 +57,4 @@ class ApiDocsTest extends TestCase
|
||||
$resp = $this->get('/api/docs');
|
||||
$resp->assertStatus(200);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user