mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-12 16:08:08 +00:00
Applied latest styleci changes
This commit is contained in:
parent
72c8b138e1
commit
840a1ea011
6 changed files with 19 additions and 20 deletions
|
@ -25,7 +25,7 @@ class IpFormatter
|
|||
protected function maskIpv4(): string
|
||||
{
|
||||
$exploded = $this->explodeAndExpandIp('.', 4);
|
||||
$maskGroupCount = min( 4 - $this->precision, count($exploded));
|
||||
$maskGroupCount = min(4 - $this->precision, count($exploded));
|
||||
|
||||
for ($i = 0; $i < $maskGroupCount; $i++) {
|
||||
$exploded[3 - $i] = 'x';
|
||||
|
|
|
@ -24,7 +24,7 @@ class UserManagementTest extends TestCase
|
|||
$resp = $this->asAdmin()->get('/settings/users');
|
||||
$this->withHtml($resp)->assertElementContains('a[href="' . url('/settings/users/create') . '"]', 'Add New User');
|
||||
|
||||
$resp =$this->get('/settings/users/create');
|
||||
$resp = $this->get('/settings/users/create');
|
||||
$this->withHtml($resp)->assertElementContains('form[action="' . url('/settings/users/create') . '"]', 'Save');
|
||||
|
||||
$resp = $this->post('/settings/users/create', [
|
||||
|
|
|
@ -149,6 +149,5 @@ class UserPreferencesTest extends TestCase
|
|||
$this->withHtml($resp)
|
||||
->assertElementExists('.featured-image-container')
|
||||
->assertElementNotExists('.content-wrap .entity-list-item');
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue