mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
ea94b57ec1
commit
d1d06eb4fe
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue