Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Fixed test cleanup in ConnectionAdapterTestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
niels-nijens committed Oct 16, 2015
1 parent a9966a6 commit c124a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Deployment/Connection/ConnectionAdapterTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function tearDown()
if (file_exists(__DIR__.'/test.txt')) {
unlink(__DIR__.'/test.txt');
}
if (file_exists(__DIR__.'/test2.txt')) {
if (file_exists(__DIR__.'/test2.txt') || is_link(__DIR__.'/test2.txt') ) {
unlink(__DIR__.'/test2.txt');
}
}
Expand Down

0 comments on commit c124a04

Please sign in to comment.