mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
Updated the expectations of the two failing tests. Both pass now. Fixes #4600
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6872 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
b489bb1470
commit
a8728246db
1 changed files with 2 additions and 5 deletions
|
@ -147,12 +147,10 @@ class AclNodeTest extends CakeTestCase {
|
||||||
$this->assertEqual($result, $expected);
|
$this->assertEqual($result, $expected);
|
||||||
|
|
||||||
$result = Set::extract($Aco->node('Controller2/action3'), '{n}.DbAcoTest.id');
|
$result = Set::extract($Aco->node('Controller2/action3'), '{n}.DbAcoTest.id');
|
||||||
$expected = array(6, 1);
|
$this->assertFalse($result);
|
||||||
$this->assertEqual($result, $expected);
|
|
||||||
|
|
||||||
$result = Set::extract($Aco->node('Controller2/action3/record5'), '{n}.DbAcoTest.id');
|
$result = Set::extract($Aco->node('Controller2/action3/record5'), '{n}.DbAcoTest.id');
|
||||||
$expected = array(6, 1);
|
$this->assertFalse($result);
|
||||||
$this->assertEqual($result, $expected);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function testNodeAliasParenting() {
|
function testNodeAliasParenting() {
|
||||||
|
@ -175,5 +173,4 @@ class AclNodeTest extends CakeTestCase {
|
||||||
$this->assertEqual($result, $expected);
|
$this->assertEqual($result, $expected);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Add table
Reference in a new issue