diff options
Diffstat (limited to 'core/tests/Photos_Controller_Test.php')
| -rw-r--r-- | core/tests/Photos_Controller_Test.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/tests/Photos_Controller_Test.php b/core/tests/Photos_Controller_Test.php index 2b28f774..b40a9677 100644 --- a/core/tests/Photos_Controller_Test.php +++ b/core/tests/Photos_Controller_Test.php @@ -18,8 +18,12 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class Photos_Controller_Test extends Unit_Test_Case { + public function setup() { + $this->_post = $_POST; + } + public function teardown() { - unset($_POST); + $_POST = $this->_post; } public function change_photo_test() { |
