Applied latest styleci changes
This commit is contained in:
		
							parent
							
								
									72c8b138e1
								
							
						
					
					
						commit
						840a1ea011
					
				| 
						 | 
				
			
			@ -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…
	
		Reference in New Issue