MINOR Fixed memory limit setting in SapphireTest (regression from r106128)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@106190 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-06-04 01:30:31 +00:00 committed by Sam Minnee
parent c3670e8981
commit a50d4fbc10

View File

@ -342,7 +342,7 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
function tearDown() {
// Preserve memory settings
ini_set('memory_limit', $this->originalMemoryLimit);
ini_set('memory_limit', ($this->originalMemoryLimit) ? $this->originalMemoryLimit : -1);
// Restore email configuration
Email::set_mailer($this->originalMailer);