Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unused parameter.

  • Loading branch information...
commit 9f80004920a396d8a6e9e1c46c58155657d4158a 1 parent a7404e8
@markstory markstory authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/Test/Case/Utility/SetTest.php
View
6 lib/Cake/Test/Case/Utility/SetTest.php
@@ -1683,7 +1683,7 @@ public 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')
);
@@ -1696,7 +1696,7 @@ public 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'),
@@ -1705,7 +1705,7 @@ public function testRemove() {
);
$this->assertEquals($expected, $result);
- $result = Set::remove($a, 'pages.2.vars', array('title' => 'page title'));
+ $result = Set::remove($a, 'pages.2.vars');
$expected = $a;
$this->assertEquals($expected, $result);
}
Please sign in to comment.
Something went wrong with that request. Please try again.