Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Merge pull request #57 from ianmacl/ini_restore
Browse files Browse the repository at this point in the history
Restoring memory limit after daemon test
  • Loading branch information
LouisLandry committed Jun 21, 2011
2 parents 05caa46 + 333c4d6 commit 1929cfb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/suite/joomla/application/cli/JDaemonTest.php
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 1929cfb

Please sign in to comment.