1
0
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:
Dan Brown
2021-06-26 15:23:15 +00:00
committed by StyleCI Bot
parent 3a402f6adc
commit 934a833818
349 changed files with 3655 additions and 2625 deletions

View 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);
}
}
}