Skip to content
Permalink
Browse files

Fix the fatal error that has started showing up.

  • Loading branch information...
markstory committed Nov 24, 2016
1 parent 94eb355 commit a366a3c0ce222dd76d81214eac3a109da4fe3e96
Showing with 1 addition and 4 deletions.
  1. +1 −4 tests/TestCase/View/Helper/FormHelperTest.php
@@ -398,10 +398,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 a366a3c

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