Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Dec 11, 2024
1 parent f8b7dac commit f2d514b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"laravel/tinker": "^2.8.2",
"nunomaduro/collision": "^6.2",
"orchestra/canvas": "^7.11.1",
"orchestra/testbench-core": "^7.49",
"orchestra/testbench-core": "^7.50",
"symfony/polyfill-php83": "^1.31",
"symfony/process": "^6.0.9",
"symfony/yaml": "^6.0.9"
Expand Down
4 changes: 2 additions & 2 deletions tests/Console/CreateSqliteDbCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function it_can_generate_database_using_command()
$this->assertFalse(file_exists(database_path('database.sqlite')));

$this->artisan('workbench:create-sqlite-db')
->expectsOutputToContain('File [database/database.sqlite] generated')
->expectsOutputToContain('File [@laravel/database/database.sqlite] generated')
->assertOk();

$this->assertTrue(file_exists(database_path('database.sqlite')));
Expand All @@ -51,7 +51,7 @@ public function it_cannot_generate_database_using_command_when_database_already_
$this->assertTrue(file_exists(database_path('database.sqlite')));

$this->artisan('workbench:create-sqlite-db')
->expectsOutputToContain('File [database/database.sqlite] already exists')
->expectsOutputToContain('File [@laravel/database/database.sqlite] already exists')
->assertOk();
});
}
Expand Down
4 changes: 2 additions & 2 deletions tests/Console/DropSqliteDbCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function it_can_drop_database_using_command()
$this->assertTrue(file_exists(database_path('database.sqlite')));

$this->artisan('workbench:drop-sqlite-db')
->expectsOutputToContain('File [database/database.sqlite] has been deleted')
->expectsOutputToContain('File [@laravel/database/database.sqlite] has been deleted')
->assertOk();

$this->assertFalse(file_exists(database_path('database.sqlite')));
Expand All @@ -51,7 +51,7 @@ public function it_cannot_drop_database_using_command_when_database_doesnt_exist
$this->assertFalse(file_exists(database_path('database.sqlite')));

$this->artisan('workbench:drop-sqlite-db')
->expectsOutputToContain('File [database/database.sqlite] doesn\'t exists')
->expectsOutputToContain('File [@laravel/database/database.sqlite] doesn\'t exists')
->assertOk();
});
}
Expand Down

0 comments on commit f2d514b

Please sign in to comment.