Skip to content

Commit

Permalink
Fix paths for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 19, 2024
1 parent 6c97286 commit 2815b64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Command/DumpCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function testExecuteSuccess(): void
$this->exec('migrations dump --connection test --source TestsMigrations');

$this->assertExitSuccess();
$this->assertOutputContains('config/TestsMigrations/schema-dump-test.lock');
$this->assertOutputContains('config' . DS . 'TestsMigrations' . DS . 'schema-dump-test.lock');

$this->assertFileExists($this->dumpFile);
/** @var array<string, TableSchema> $generatedDump */
Expand All @@ -92,7 +92,7 @@ public function testExecutePlugin(): void
$this->exec('migrations dump --connection test --plugin Migrator');

$this->assertExitSuccess();
$this->assertOutputContains('Migrator/config/Migrations/schema-dump-test.lock');
$this->assertOutputContains('Migrator' . DS . 'config' . DS . 'Migrations' . DS . 'schema-dump-test.lock');

$dumpFile = Plugin::path('Migrator') . '/config/Migrations/schema-dump-test.lock';
if (file_exists($dumpFile)) {
Expand Down

0 comments on commit 2815b64

Please sign in to comment.