Skip to content

Commit ff69174

Browse files
committed
Update TestCase.php, add getPackageProviders
1 parent c52ff3b commit ff69174

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/TestCase.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,15 @@
77
abstract class TestCase extends BaseTestCase
88
{
99
use CreatesDatabase;
10+
11+
/**
12+
* To load your package service provider
13+
*
14+
* @param [mixed] $app
15+
* @return void
16+
*/
17+
protected function getPackageProviders($app)
18+
{
19+
return ['PPSpaces\RepositoryServiceProvider'];
20+
}
1021
}

0 commit comments

Comments
 (0)