mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[ticket/11528] Move parent::tearDown() to end of tearDown()
PHPBB3-11528
This commit is contained in:
@@ -117,8 +117,6 @@ class phpbb_functional_test_case extends phpbb_mink_test_case
|
||||
|
||||
protected function tearDown()
|
||||
{
|
||||
parent::tearDown();
|
||||
|
||||
if ($this->db instanceof \phpbb\db\driver\driver_interface)
|
||||
{
|
||||
// Close the database connections again this test
|
||||
@@ -126,6 +124,7 @@ class phpbb_functional_test_case extends phpbb_mink_test_case
|
||||
}
|
||||
|
||||
self::$cookieJar->clear();
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -59,8 +59,8 @@ abstract class phpbb_mink_test_case extends phpbb_test_case
|
||||
|
||||
protected function tearDown()
|
||||
{
|
||||
parent::tearDown();
|
||||
self::$session->reset();
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
static protected function visit($path)
|
||||
|
Reference in New Issue
Block a user