Skip to content

Commit

Permalink
add tearDown method to clean up dev_rfc.trc after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Mar 2, 2020
1 parent 8c1b945 commit 9acc6da
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/SapRfcIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,18 @@ class SapRfcIntegrationTest extends AbstractSapRfcTestCase
]
];

/**
* Clean up after tests.
*/
public function tearDown()
{
parent::tearDown();
$devRfcTrc = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'dev_rfc.trc';
if (file_exists($devRfcTrc)) {
unlink($devRfcTrc);
}
}

/**
* @inheritDoc
*/
Expand Down

0 comments on commit 9acc6da

Please sign in to comment.