X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a6633642232efd164d4708967ab59e498fbff896..refs/pull/2890/head:/tests/Api/ApiDocsTest.php diff --git a/tests/Api/ApiDocsTest.php b/tests/Api/ApiDocsTest.php index 1687c64a1..90d107eb3 100644 --- a/tests/Api/ApiDocsTest.php +++ b/tests/Api/ApiDocsTest.php @@ -1,4 +1,6 @@ -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); } -} \ No newline at end of file +}