Skip to content

Commit 79052f2

Browse files
committed
Fix delete media after unit tests
1 parent 92c9b39 commit 79052f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Divergence/TestListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function endTestSuite(TestSuite $suite): void
8080
{
8181
//printf("TestSuite '%s' ended.\n", $suite->getName());
8282
if ($suite->getName() == 'all') {
83-
exec('rm -rf %s', App::$App->ApplicationPath.'/media');
83+
exec(sprintf('rm -rf %s', App::$App->ApplicationPath.'/media'));
8484
fwrite(STDERR, "\n".'Cleaning up Divergence Mock Environment for PHPUnit'."\n");
8585
}
8686
}

0 commit comments

Comments
 (0)