From 9ba2857f0d2951568d93d34aafb198b68ed9c241 Mon Sep 17 00:00:00 2001 From: gwoo Date: Sun, 21 Oct 2007 23:37:31 +0000 Subject: [PATCH] updating folder test git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5838 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/folder.test.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cake/tests/cases/libs/folder.test.php b/cake/tests/cases/libs/folder.test.php index f935d4cd9..70cafc2a9 100644 --- a/cake/tests/cases/libs/folder.test.php +++ b/cake/tests/cases/libs/folder.test.php @@ -119,11 +119,11 @@ class FolderTest extends UnitTestCase { $result = $Folder->create($new); $this->assertTrue($result); - $result = $Folder->read(true); + $result = $Folder->read(true, true); $expected = array(array('0', 'cache', 'logs', 'sessions', 'tests'), array()); $this->assertEqual($expected, $result); - $result = $Folder->read(true, array('.', '..', 'logs')); + $result = $Folder->read(true, array('.', '..', 'logs', '.svn')); $expected = array(array('0', 'cache', 'sessions', 'tests'), array()); $this->assertEqual($expected, $result); @@ -134,7 +134,7 @@ class FolderTest extends UnitTestCase { function testFolderRead() { $Folder =& new Folder(TMP); $expected = array('cache', 'logs', 'sessions', 'tests'); - $results = $Folder->read(); + $results = $Folder->read(true, true); $this->assertEqual($results[0], $expected); }