mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-06 12:02:45 +03:00
Applied latest styleci changes
This commit is contained in:
@@ -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');
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user