Skip to content

Commit

Permalink
Make sure to delete dump file before the command test
Browse files Browse the repository at this point in the history
  • Loading branch information
brexis committed Nov 17, 2017
1 parent 99d93e0 commit 876075f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/WorkflowDumpCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ class WorkflowDumpCommandTest extends TestCase
{
public function testWorkflowCommand()
{
if (file_exists('straight.png')) {
unlink('straight.png');
}

$command = Mockery::mock(WorkflowDumpCommand::class)
->makePartial()
->shouldReceive('argument')
Expand Down

0 comments on commit 876075f

Please sign in to comment.