From a8728246dbda35c46612bea1ccd3ad680c377bbc Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 15 May 2008 00:56:08 +0000 Subject: [PATCH] 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 --- cake/tests/cases/libs/model/db_acl.test.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cake/tests/cases/libs/model/db_acl.test.php b/cake/tests/cases/libs/model/db_acl.test.php index 22bcfabba..e2203e595 100644 --- a/cake/tests/cases/libs/model/db_acl.test.php +++ b/cake/tests/cases/libs/model/db_acl.test.php @@ -147,12 +147,10 @@ class AclNodeTest extends CakeTestCase { $this->assertEqual($result, $expected); $result = Set::extract($Aco->node('Controller2/action3'), '{n}.DbAcoTest.id'); - $expected = array(6, 1); - $this->assertEqual($result, $expected); + $this->assertFalse($result); $result = Set::extract($Aco->node('Controller2/action3/record5'), '{n}.DbAcoTest.id'); - $expected = array(6, 1); - $this->assertEqual($result, $expected); + $this->assertFalse($result); } function testNodeAliasParenting() { @@ -175,5 +173,4 @@ class AclNodeTest extends CakeTestCase { $this->assertEqual($result, $expected); } } - ?> \ No newline at end of file