Skip to content

Commit e2bf10a

Browse files
authored
wip
1 parent a7bda0e commit e2bf10a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/SushiTest.php

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Illuminate\Database\Schema\Blueprint;
88
use Illuminate\Support\Facades\File;
99
use Illuminate\Support\Facades\Validator;
10+
use Orchestra\Testbench\Concerns\HandlesAnnotations;
1011
use Orchestra\Testbench\TestCase;
1112

1213
class SushiTest extends TestCase
@@ -187,6 +188,10 @@ public function it_runs_method_after_migration_when_defined()
187188
* */
188189
function sushi_models_can_relate_to_models_in_regular_sqlite_databases()
189190
{
191+
if (trait_exists(HandlesAnnotations::class)) {
192+
$this->markTestSkipped('Requires HandlesAnnotation trait to define sqlite connection using PHPUnit annotation');
193+
}
194+
190195
$this->loadMigrationsFrom(__DIR__ . '/database/migrations');
191196
$this->artisan('migrate', ['--database' => 'testbench-sqlite'])->run();
192197

0 commit comments

Comments
 (0)