Skip to content

Commit

Permalink
Fix breaking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfox committed Jan 14, 2024
1 parent 8734e43 commit 2e676e7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Illuminate\Support\Facades\File;

class DatabaseCockroachDbSchemaStateTest extends DatabaseTestCase
class DumpAndLoadSchemaTest extends DatabaseTestCase
{
protected function setUp(): void
{
Expand Down Expand Up @@ -38,6 +38,8 @@ public function test_exporting_an_sql_dump()

public function test_importing_an_sql_dump()
{
// Make sure the schema direct exists first
File::ensureDirectoryExists(database_path('schema'));
File::copy(__DIR__ . '/stubs/schema-dump.sql', database_path('schema/crdb-schema.sql'));

if ($this->app['config']->get('database.default') !== 'testing') {
Expand Down

0 comments on commit 2e676e7

Please sign in to comment.