Permalink
Browse files

Remove useless parameter in Set test.

Fixes #1824
  • Loading branch information...
1 parent 3b27092 commit 8b866acf151bb434ef21c84f3b255e490ea431d9 @markstory markstory committed Dec 5, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 cake/tests/cases/libs/set.test.php
@@ -1648,7 +1648,7 @@ function testRemove() {
'files' => array('name' => 'files')
);
- $result = Set::remove($a, 'files', array('name' => 'files'));
+ $result = Set::remove($a, 'files');
$expected = array(
'pages' => array('name' => 'page')
);
@@ -1661,7 +1661,7 @@ function testRemove() {
)
);
- $result = Set::remove($a, 'pages.1.vars', array('title' => 'page title'));
+ $result = Set::remove($a, 'pages.1.vars');
$expected = array(
'pages' => array(
0 => array('name' => 'main'),
@@ -1670,7 +1670,7 @@ function testRemove() {
);
$this->assertIdentical($result, $expected);
- $result = Set::remove($a, 'pages.2.vars', array('title' => 'page title'));
+ $result = Set::remove($a, 'pages.2.vars');
$expected = $a;
$this->assertIdentical($result, $expected);
}

0 comments on commit 8b866ac

Please sign in to comment.