From 333c4d6bf91fb0a6b42a36a7fe595ac188938756 Mon Sep 17 00:00:00 2001 From: Ian MacLennan Date: Mon, 20 Jun 2011 00:45:53 -0400 Subject: [PATCH] Restoring memory limit after daemon test --- tests/suite/joomla/application/cli/JDaemonTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/suite/joomla/application/cli/JDaemonTest.php b/tests/suite/joomla/application/cli/JDaemonTest.php index 5e2d1166c4..02a4855aba 100644 --- a/tests/suite/joomla/application/cli/JDaemonTest.php +++ b/tests/suite/joomla/application/cli/JDaemonTest.php @@ -35,6 +35,16 @@ public function setUp() JLog::addLogger(array('logger' => 'echo'), JLog::ALL); } + /** + * Restore memory limit after tests + * + */ + public static function tearDownAfterClass() + { + ini_restore('memory_limit'); + parent::tearDownAfterClass(); + } + /** * Test the JDaemon::writeProcessIdFile method. */