aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/forgot_password_test.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2014-02-20 20:54:30 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2014-02-20 20:54:30 -0600
commit2df2032b4877ea59412bff80a5b54a7ea6aeb8b8 (patch)
tree06af63083a8732f072d439cf9bec4cf34b77ac3f /tests/functional/forgot_password_test.php
parentb8d30bfc80b5127c5dab1bfe18035e70d77bb7aa (diff)
parent92f198037776e1832f6e58c93b20b3673631674f (diff)
downloadforums-2df2032b4877ea59412bff80a5b54a7ea6aeb8b8.tar
forums-2df2032b4877ea59412bff80a5b54a7ea6aeb8b8.tar.gz
forums-2df2032b4877ea59412bff80a5b54a7ea6aeb8b8.tar.bz2
forums-2df2032b4877ea59412bff80a5b54a7ea6aeb8b8.tar.xz
forums-2df2032b4877ea59412bff80a5b54a7ea6aeb8b8.zip
Merge pull request #2025 from marc1706/ticket/12183
[ticket/12183] Update user_newpasswd column in users table for passwords manager
Diffstat (limited to 'tests/functional/forgot_password_test.php')
-rw-r--r--tests/functional/forgot_password_test.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/functional/forgot_password_test.php b/tests/functional/forgot_password_test.php
index 906224efbb..3b6fd15d02 100644
--- a/tests/functional/forgot_password_test.php
+++ b/tests/functional/forgot_password_test.php
@@ -41,4 +41,17 @@ class phpbb_functional_forgot_password_test extends phpbb_functional_test_case
}
+ public function tearDown()
+ {
+ $this->login();
+ $this->admin_login();
+
+ $crawler = self::request('GET', 'adm/index.php?sid=' . $this->sid . '&i=acp_board&mode=security');
+
+ // Enable allow_password_reset again after test
+ $form = $crawler->selectButton('Submit')->form(array(
+ 'config[allow_password_reset]' => 1,
+ ));
+ $crawler = self::submit($form);
+ }
}