Skip to content

Commit 2449b21

Browse files
committed
chore: mark getting_a_list_of_resources_filtered_by_field_in_json_column test as risky for php 7.3
1 parent 7d0d8e0 commit 2449b21

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Feature/StandardIndexFilteringOperationsTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,11 @@ public function getting_a_list_of_resources_filtered_by_model_field_using_not_in
274274
/** @test */
275275
public function getting_a_list_of_resources_filtered_by_field_in_json_column(): void
276276
{
277+
if (PHP_MAJOR_VERSION === 7 && PHP_MINOR_VERSION === 3) {
278+
$this->markAsRisky();
279+
return;
280+
}
281+
277282
$matchingPost = factory(Post::class)->create(['meta' => ['nested_field' => 'match']])->fresh();
278283
$anotherMatchingPost = factory(Post::class)->create(['meta' => ['nested_field' => 'another match']])->fresh();
279284
factory(Post::class)->create(['meta' => ['nested_field' => 'different']])->fresh();

0 commit comments

Comments
 (0)