File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2727 [
2828 'title ' => 'framework ' ,
2929 'value ' => 'laravel ' ,
30- ]
30+ ],
3131 ]);
3232
3333 assertDatabaseCount ('products ' , 1 );
Original file line number Diff line number Diff line change @@ -11,4 +11,4 @@ class Product extends Model
1111
1212 protected $ table = 'products ' ;
1313 protected $ fillable = ['title ' ];
14- }
14+ }
Original file line number Diff line number Diff line change 44use Illuminate \Database \Schema \Blueprint ;
55use Illuminate \Support \Facades \Schema ;
66
7- return new class extends Migration
8- {
7+ return new class () extends Migration {
98 /**
109 * Run the migrations.
1110 *
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
99 /**
1010 * Load package service provider.
1111 *
12- * @param \Illuminate\Foundation\Application $app
12+ * @param \Illuminate\Foundation\Application $app
13+ *
1314 * @return array
1415 */
1516 protected function getPackageProviders ($ app )
@@ -20,22 +21,22 @@ protected function getPackageProviders($app)
2021 /**
2122 * Define environment setup.
2223 *
23- * @param \Illuminate\Foundation\Application $app
24+ * @param \Illuminate\Foundation\Application $app
2425 */
2526 protected function getEnvironmentSetUp ($ app )
2627 {
2728 // Setup default database to use sqlite :memory:
2829 $ app ['config ' ]->set ('database.default ' , 'testing ' );
2930 $ app ['config ' ]->set ('database.connections.testing ' , [
30- 'driver ' => 'sqlite ' ,
31+ 'driver ' => 'sqlite ' ,
3132 'database ' => ':memory: ' ,
32- 'prefix ' => '' ,
33+ 'prefix ' => '' ,
3334 ]);
3435 }
3536
3637 protected function setUp (): void
3738 {
3839 parent ::setUp ();
39- $ this ->loadMigrationsFrom (__DIR__ . '/SetUp/migrations ' );
40+ $ this ->loadMigrationsFrom (__DIR__ . '/SetUp/migrations ' );
4041 }
4142}
You can’t perform that action at this time.
0 commit comments