Skip to content

Commit 9acc6da

Browse files
committed
add tearDown method to clean up dev_rfc.trc after tests
1 parent 8c1b945 commit 9acc6da

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/SapRfcIntegrationTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,18 @@ class SapRfcIntegrationTest extends AbstractSapRfcTestCase
117117
]
118118
];
119119

120+
/**
121+
* Clean up after tests.
122+
*/
123+
public function tearDown()
124+
{
125+
parent::tearDown();
126+
$devRfcTrc = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'dev_rfc.trc';
127+
if (file_exists($devRfcTrc)) {
128+
unlink($devRfcTrc);
129+
}
130+
}
131+
120132
/**
121133
* @inheritDoc
122134
*/

0 commit comments

Comments
 (0)