File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 7
7
use Illuminate \Database \Schema \Blueprint ;
8
8
use Illuminate \Support \Facades \File ;
9
9
use Illuminate \Support \Facades \Validator ;
10
+ use Orchestra \Testbench \Concerns \HandlesAnnotations ;
10
11
use Orchestra \Testbench \TestCase ;
11
12
12
13
class SushiTest extends TestCase
@@ -187,6 +188,10 @@ public function it_runs_method_after_migration_when_defined()
187
188
* */
188
189
function sushi_models_can_relate_to_models_in_regular_sqlite_databases ()
189
190
{
191
+ if (trait_exists (HandlesAnnotations::class)) {
192
+ $ this ->markTestSkipped ('Requires HandlesAnnotation trait to define sqlite connection using PHPUnit annotation ' );
193
+ }
194
+
190
195
$ this ->loadMigrationsFrom (__DIR__ . '/database/migrations ' );
191
196
$ this ->artisan ('migrate ' , ['--database ' => 'testbench-sqlite ' ])->run ();
192
197
You can’t perform that action at this time.
0 commit comments