Skip to content

Commit 386995f

Browse files
committed
add resetServices() in the tearDown() method
1 parent 9e60627 commit 386995f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/system/HTTP/FormRequestTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ protected function setUp(): void
4949
$this->codeigniter = new MockCodeIgniter(new App());
5050
}
5151

52+
protected function tearDown(): void
53+
{
54+
parent::tearDown();
55+
56+
$this->resetServices();
57+
}
58+
5259
// -------------------------------------------------------------------------
5360
// Helpers
5461
// -------------------------------------------------------------------------

0 commit comments

Comments
 (0)