public function test_add_admin_command()
{
$exitCode = \Artisan::call('bookstack:create-admin', [
public function test_add_admin_command()
{
$exitCode = \Artisan::call('bookstack:create-admin', [
'--password' => 'testing-4',
]);
$this->assertTrue($exitCode === 0, 'Command executed successfully');
$this->assertDatabaseHas('users', [
'--password' => 'testing-4',
]);
$this->assertTrue($exitCode === 0, 'Command executed successfully');
$this->assertDatabaseHas('users', [