|
|
@@ -86,7 +86,6 @@ class CollectionTest extends TestCase {
|
|
|
* @return void
|
|
|
*/
|
|
|
public function testFilterChaining() {
|
|
|
- $this->assertFalse(defined('HHVM_VERSION'), 'Broken on HHVM');
|
|
|
$items = ['a' => 1, 'b' => 2, 'c' => 3];
|
|
|
$collection = new Collection($items);
|
|
|
$callable = $this->getMock('stdClass', ['__invoke']);
|
|
|
@@ -107,7 +106,6 @@ class CollectionTest extends TestCase {
|
|
|
* @return void
|
|
|
*/
|
|
|
public function testReject() {
|
|
|
- $this->assertFalse(defined('HHVM_VERSION'), 'Broken on HHVM');
|
|
|
$items = ['a' => 1, 'b' => 2, 'c' => 3];
|
|
|
$collection = new Collection($items);
|
|
|
$result = $collection->reject(function ($v, $k, $items) use ($collection) {
|
|
|
@@ -558,7 +556,6 @@ class CollectionTest extends TestCase {
|
|
|
* @return void
|
|
|
*/
|
|
|
public function testMatch() {
|
|
|
- $this->assertFalse(defined('HHVM_VERSION'), 'Broken on HHVM');
|
|
|
$items = [
|
|
|
['id' => 1, 'name' => 'foo', 'thing' => ['parent_id' => 10]],
|
|
|
['id' => 2, 'name' => 'bar', 'thing' => ['parent_id' => 11]],
|
|
|
@@ -587,7 +584,6 @@ class CollectionTest extends TestCase {
|
|
|
* @return void
|
|
|
*/
|
|
|
public function testFirstMatch() {
|
|
|
- $this->assertFalse(defined('HHVM_VERSION'), 'Broken on HHVM');
|
|
|
$items = [
|
|
|
['id' => 1, 'name' => 'foo', 'thing' => ['parent_id' => 10]],
|
|
|
['id' => 2, 'name' => 'bar', 'thing' => ['parent_id' => 11]],
|