]> BookStack Code Mirror - bookstack/blobdiff - tests/Api/ApiDocsTest.php
Apply fixes from StyleCI
[bookstack] / tests / Api / ApiDocsTest.php
index 1687c64a17e10a7a5110166d251be7c2721afcf1..90d107eb34aa7b170d73fe2999014c7789248176 100644 (file)
@@ -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);
     }
-}
\ No newline at end of file
+}