summaryrefslogtreecommitdiff
path: root/core/tests/Albums_Controller_Test.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/tests/Albums_Controller_Test.php')
-rw-r--r--core/tests/Albums_Controller_Test.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/tests/Albums_Controller_Test.php b/core/tests/Albums_Controller_Test.php
index 747b7427..1aef97a7 100644
--- a/core/tests/Albums_Controller_Test.php
+++ b/core/tests/Albums_Controller_Test.php
@@ -18,8 +18,12 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Albums_Controller_Test extends Unit_Test_Case {
+ public function setup() {
+ $this->_post = $_POST;
+ }
+
public function teardown() {
- unset($_POST);
+ $_POST = $this->_post;
}
public function change_album_test() {