Skip to content
Permalink
Browse files

Remove mock that wasn't necessary.

  • Loading branch information...
markstory committed Nov 22, 2016
1 parent 5cbf03b commit 55b5291c22a3cec2afc92947e0d21f981c4fda43
Showing with 1 addition and 4 deletions.
  1. +1 −4 tests/TestCase/View/Helper/FormHelperTest.php
@@ -400,10 +400,7 @@ public function testAddContextProviderInvalid()
public function contextSelectionProvider()
{
$entity = new Article();
$collection = $this->getMockBuilder('Cake\Collection\Collection')
->setMethods(['extract'])
->setConstructorArgs([[$entity]])
->getMock();
$collection = new Collection([$entity]);
$emptyCollection = new Collection([]);
$emptyArray = [];
$arrayObject = new \ArrayObject([]);

0 comments on commit 55b5291

Please sign in to comment.
You can’t perform that action at this time.