correcting invalidLftRght test to not attempt to set not-null fields to null

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7009 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
AD7six 2008-05-22 15:33:41 +00:00
parent ea94b57ec1
commit d1d06eb4fe

View file

@ -268,7 +268,7 @@ class NumberTreeCase extends CakeTestCase {
$this->NumberTree =& new NumberTree(); $this->NumberTree =& new NumberTree();
$this->NumberTree->__initialize(2, 2); $this->NumberTree->__initialize(2, 2);
$this->NumberTree->updateAll(array('lft' => null, 'rght' => null)); $this->NumberTree->updateAll(array('lft' => 0, 'rght' => 0));
$result = $this->NumberTree->verify(); $result = $this->NumberTree->verify();
$this->assertNotIdentical($result, true); $this->assertNotIdentical($result, true);