Skip to content

Commit

Permalink
Different approach for testing destination dir 2
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Mar 18, 2024
1 parent 7337e00 commit 8946f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Command/Schema/SchemaPhpCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function testExecuteWithFileWriteError(): void
$this->assertStringContainsString('Destination:', $output);

if (DIRECTORY_SEPARATOR === '/') {
$this->assertStringContainsString('/tests/Command/Stub/Foo/schema.php', $output);
$this->assertStringContainsString('/tests/Command/Stub/schema.php', $output);
}

$this->assertStringContainsString('Failed to write content to file.', $output);
Expand Down

0 comments on commit 8946f2c

Please sign in to comment.