diff options
author | alex <> | 2005-11-17 11:47:30 +0000 |
---|---|---|
committer | alex <> | 2005-11-17 11:47:30 +0000 |
commit | b4f41b167b62bb628d0809fc0e9438e11dce2bb5 (patch) | |
tree | af0ef1912ad48db33b2d0db94419378fd5627125 /tests/UnitTests/framework/utComponent.php | |
parent | 6c1b05deafd9940da5d473800032558df90b118e (diff) |
Updated TPropertyValue so ensureArray parses a string like "(aaa,bbb,ccc)" into array("aaa","bbb","ccc"). Also added PradoUnitTestCase which is to be finalized shortly.
Diffstat (limited to 'tests/UnitTests/framework/utComponent.php')
-rw-r--r-- | tests/UnitTests/framework/utComponent.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/UnitTests/framework/utComponent.php b/tests/UnitTests/framework/utComponent.php index b47c3de9..bd13b8cb 100644 --- a/tests/UnitTests/framework/utComponent.php +++ b/tests/UnitTests/framework/utComponent.php @@ -293,9 +293,6 @@ class utComponent extends UnitTestCase public function testEnsureObject()
{
$this->assertEqual(TPropertyValue::ensureObject($this->component), $this->component);
- $this->assertNull(TPropertyValue::ensureObject(array(1,2,3)));
- $this->assertNull(TPropertyValue::ensureObject(1));
- $this->assertNull(TPropertyValue::ensureObject("foo"));
}
/**
|