File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -344,12 +344,6 @@ public function _after(TestInterface $test)
344
344
345
345
$ this ->rollbackTransactions ();
346
346
347
- if (isset ($ this ->connectionWatcher )) {
348
- $ this ->connectionWatcher ->stop ();
349
- $ this ->connectionWatcher ->closeAll ();
350
- unset($ this ->connectionWatcher );
351
- }
352
-
353
347
if ($ this ->config ['cleanup ' ]) {
354
348
foreach ($ this ->loadedFixtures as $ fixture ) {
355
349
$ fixture ->unloadFixtures ();
@@ -358,6 +352,13 @@ public function _after(TestInterface $test)
358
352
}
359
353
360
354
$ this ->client ->resetApplication ();
355
+
356
+ if (isset ($ this ->connectionWatcher )) {
357
+ $ this ->connectionWatcher ->stop ();
358
+ $ this ->connectionWatcher ->closeAll ();
359
+ unset($ this ->connectionWatcher );
360
+ }
361
+
361
362
parent ::_after ($ test );
362
363
}
363
364
You can’t perform that action at this time.
0 commit comments