The bcrypt function hashes the given value using Bcrypt. You may use this function as an alternative to the Hash facade:
$password bcrypt('my-secret-password');
        AuthenticationTestUser::create([

            
'username' => 'username',

            
'email' => 'email',

            
'password' => bcrypt('password'),

            
'is_active' => true,

        ]);
        AuthenticationTestUser::create([

            
'username' => 'username2',

            
'email' => 'email2',

            
'password' => bcrypt('password'),

            
'is_active' => false,

        ]);
        $user AuthenticationTestUser::create([

            
'username' => 'username2',

            
'email' => 'email2',

            
'password' => bcrypt('password'),

            
'remember_token' => $token Str::random(),

            
'is_active' => false,

        ]);
        AuthenticationTestUser::create([

            
'username' => 'taylorotwell',

            
'email' => 'taylorotwell@laravel.com',

            
'password' => bcrypt('password'),

            
'is_active' => true,

        ]);

    }