1
0
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:
Dhruv
2014-06-14 17:46:35 +05:30
parent 019b345171
commit c26fa6a15b
6 changed files with 10 additions and 11 deletions

View File

@@ -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();
}
/**

View File

@@ -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)