From d1d06eb4fe5bb89914ba373bb596f8326ab2eb25 Mon Sep 17 00:00:00 2001 From: AD7six Date: Thu, 22 May 2008 15:33:41 +0000 Subject: [PATCH] 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 --- cake/tests/cases/libs/model/behaviors/tree.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/model/behaviors/tree.test.php b/cake/tests/cases/libs/model/behaviors/tree.test.php index 089466742..113758fe4 100644 --- a/cake/tests/cases/libs/model/behaviors/tree.test.php +++ b/cake/tests/cases/libs/model/behaviors/tree.test.php @@ -268,7 +268,7 @@ class NumberTreeCase extends CakeTestCase { $this->NumberTree =& new NumberTree(); $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(); $this->assertNotIdentical($result, true);