Skip to content

Commit 876075f

Browse files
committed
Make sure to delete dump file before the command test
1 parent 99d93e0 commit 876075f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/WorkflowDumpCommandTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ class WorkflowDumpCommandTest extends TestCase
99
{
1010
public function testWorkflowCommand()
1111
{
12+
if (file_exists('straight.png')) {
13+
unlink('straight.png');
14+
}
15+
1216
$command = Mockery::mock(WorkflowDumpCommand::class)
1317
->makePartial()
1418
->shouldReceive('argument')

0 commit comments

Comments
 (0)