From 15a641a99ca4a7d583d592ab883f637c0a445623 Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Wed, 1 Feb 2012 10:36:53 +1300 Subject: [PATCH] BUGFIX Clear requirements after running a unit test --- dev/SapphireTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev/SapphireTest.php b/dev/SapphireTest.php index dab997cd4..5d3c54e5a 100644 --- a/dev/SapphireTest.php +++ b/dev/SapphireTest.php @@ -224,6 +224,9 @@ class SapphireTest extends PHPUnit_Framework_TestCase { // Preserve memory settings $this->originalMemoryLimit = ini_get('memory_limit'); + + // Clear requirements + Requirements::clear(); } /**