Skip to content

Commit f4ee494

Browse files
author
Andrey Helldar
committed
Call the ServiceProvider in tests
1 parent 7168fd8 commit f4ee494

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/TestCase.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Tests;
44

5+
use Helldar\LaravelRoutesCore\ServiceProvider;
56
use Orchestra\Testbench\TestCase as BaseTestCase;
67
use Tests\ExtendedTests\Assert;
78
use Tests\Fixtures\ServiceProvider as FixtureServiceProvider;
@@ -12,6 +13,9 @@ abstract class TestCase extends BaseTestCase
1213

1314
protected function getPackageProviders($app)
1415
{
15-
return [FixtureServiceProvider::class];
16+
return [
17+
FixtureServiceProvider::class,
18+
ServiceProvider::class,
19+
];
1620
}
1721
}

0 commit comments

Comments
 (0)