Skip to content

Commit 600ce18

Browse files
committed
Update TestCase.php
1 parent 8d291da commit 600ce18

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/TestCase.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ protected function setUp(): void
1616
{
1717
parent::setUp();
1818

19-
$this->setUpDatabase($this->app);
19+
$this->setUpDatabase();
2020

2121
$this->testUser = User::first();
2222
}
@@ -25,6 +25,7 @@ protected function setUp(): void
2525
* Set up the environment.
2626
*
2727
* @param \Illuminate\Foundation\Application $app
28+
* @return void
2829
*/
2930
protected function getEnvironmentSetUp($app)
3031
{
@@ -43,9 +44,9 @@ protected function getPackageProviders($app)
4344
}
4445

4546
/**
46-
* @param \Illuminate\Foundation\Application $app
47+
* @return void
4748
*/
48-
protected function setUpDatabase($app)
49+
protected function setUpDatabase()
4950
{
5051
Schema::create('users', function (Blueprint $table) {
5152
$table->increments('id');

0 commit comments

Comments
 (0)