Skip to content

Commit

Permalink
Call the ServiceProvider in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar committed Dec 22, 2020
1 parent 7168fd8 commit f4ee494
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Tests;

use Helldar\LaravelRoutesCore\ServiceProvider;
use Orchestra\Testbench\TestCase as BaseTestCase;
use Tests\ExtendedTests\Assert;
use Tests\Fixtures\ServiceProvider as FixtureServiceProvider;
Expand All @@ -12,6 +13,9 @@ abstract class TestCase extends BaseTestCase

protected function getPackageProviders($app)
{
return [FixtureServiceProvider::class];
return [
FixtureServiceProvider::class,
ServiceProvider::class,
];
}
}

0 comments on commit f4ee494

Please sign in to comment.