Skip to content

Commit

Permalink
Remove useless parameter in Set test.
Browse files Browse the repository at this point in the history
Fixes #1824
  • Loading branch information
markstory committed Dec 5, 2011
1 parent 3b27092 commit 8b866ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cake/tests/cases/libs/set.test.php
Expand Up @@ -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')
);
Expand All @@ -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'),
Expand All @@ -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);
}
Expand Down

0 comments on commit 8b866ac

Please sign in to comment.