From 6fe2cb3ada0e27fd883cba7c993929deb2489249 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 15 Sep 2007 13:07:49 -0400 Subject: [PATCH] Fixing a broken unit test * UnitTest/AppTest.php: (AppTest::testGetAll): The count was off by one due to a new method --- UnitTest/AppTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitTest/AppTest.php b/UnitTest/AppTest.php index be95995..a842465 100644 --- a/UnitTest/AppTest.php +++ b/UnitTest/AppTest.php @@ -85,7 +85,7 @@ class AppTest extends PHPUnit_Framework_TestCase { BSApp::Registry()->test = 1; $this->assertType('array', BSApp::Registry()->allObjects()); - $this->assertSame(sizeof(BSApp::Registry()->allObjects()), 2); + $this->assertSame(sizeof(BSApp::Registry()->allObjects()), 3); } public function testOverWriteRegister() -- 2.43.5