Skip to content

Commit ec25418

Browse files
It wasn't a PHPUnit method
1 parent cc7f417 commit ec25418

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/SearchTest.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ public function it_can_count_the_results()
8787
/** @test */
8888
public function it_respects_table_prefixes()
8989
{
90-
$this->markTestSkippedWhen(-1 === version_compare(App::version(), '12.1.0'), 'This is known not to work on Laravel 12 prior to 12.1.0');
90+
if (-1 === version_compare(App::version(), '12.1.0')) {
91+
$this->markTestSkipped('This is known not to work on Laravel 12 prior to 12.1.0');
92+
}
93+
9194
$this->initDatabase('prefix');
9295

9396
$postA = Post::create(['title' => 'foo']);

0 commit comments

Comments
 (0)