From 019b345171d271535b32b09f82ad24c16ec8b0b8 Mon Sep 17 00:00:00 2001 From: Dhruv Date: Sat, 14 Jun 2014 15:30:47 +0530 Subject: [ticket/11528] Call parent::tearDown in overrided tearDown method PHPBB3-11528 --- tests/functional/forgot_password_test.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/functional/forgot_password_test.php') diff --git a/tests/functional/forgot_password_test.php b/tests/functional/forgot_password_test.php index 64fa19557f..efb5f64f87 100644 --- a/tests/functional/forgot_password_test.php +++ b/tests/functional/forgot_password_test.php @@ -47,6 +47,8 @@ class phpbb_functional_forgot_password_test extends phpbb_functional_test_case public function tearDown() { + parent::tearDown(); + $this->login(); $this->admin_login(); -- cgit v1.2.1 From c26fa6a15b716dcf43d063b41ec5d646fc115e19 Mon Sep 17 00:00:00 2001 From: Dhruv Date: Sat, 14 Jun 2014 17:46:35 +0530 Subject: [ticket/11528] Move parent::tearDown() to end of tearDown() PHPBB3-11528 --- tests/functional/forgot_password_test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functional/forgot_password_test.php') diff --git a/tests/functional/forgot_password_test.php b/tests/functional/forgot_password_test.php index efb5f64f87..c95efc5b2e 100644 --- a/tests/functional/forgot_password_test.php +++ b/tests/functional/forgot_password_test.php @@ -47,8 +47,6 @@ class phpbb_functional_forgot_password_test extends phpbb_functional_test_case public function tearDown() { - parent::tearDown(); - $this->login(); $this->admin_login(); @@ -59,5 +57,7 @@ class phpbb_functional_forgot_password_test extends phpbb_functional_test_case 'config[allow_password_reset]' => 1, )); $crawler = self::submit($form); + + parent::tearDown(); } } -- cgit v1.2.1