https://src.bluestatic.org
/
isso.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5675c11
)
Fix the test when we're checking size by creating a new register and using that
author
Robert Sesek <rsesek@bluestatic.org>
Wed, 16 Aug 2006 03:26:50 +0000
(
03:26
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Wed, 16 Aug 2006 03:26:50 +0000
(
03:26
+0000)
UnitTest/RegisterTest.php
patch
|
blob
|
history
diff --git
a/UnitTest/RegisterTest.php
b/UnitTest/RegisterTest.php
index c82878e56642de5369e63108b1b2a8b136dbeb79..21c38b899441a0defb731b5a1f12be500fa8634b 100644
(file)
--- a/
UnitTest/RegisterTest.php
+++ b/
UnitTest/RegisterTest.php
@@
-62,8
+62,10
@@
class RegisterTest extends UnitTestCase
public function testGetAll()
{
- $this->assertIsA($this->fixture->getAll(), 'array');
- $this->assertEqual(sizeof($this->fixture->getAll()), 1);
+ $new = BSLoader::NewRegister();
+ $new->register('test', 1);
+ $this->assertIsA($new->getAll(), 'array');
+ $this->assertEqual(sizeof($new->getAll()), 1);
}
public function testOverWriteRegister()