0
0
Fork 0
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:
Dan Brown 2022-07-23 15:11:06 +01:00
parent 72c8b138e1
commit 840a1ea011
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
6 changed files with 19 additions and 20 deletions

View file

@ -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';

View file

@ -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', [

View file

@ -149,6 +149,5 @@ class UserPreferencesTest extends TestCase
$this->withHtml($resp)
->assertElementExists('.featured-image-container')
->assertElementNotExists('.content-wrap .entity-list-item');
}
}