Skip to content

Commit

Permalink
Require and load the translation module
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Oct 26, 2017
1 parent d333219 commit 17e4a00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Tests/BaseContactRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Modules\Contact\Providers\EventServiceProvider;
use Modules\Contact\Repositories\ContactRequestRepository;
use Modules\Core\Providers\CoreServiceProvider;
use Modules\Translation\Providers\TranslationServiceProvider;
use Nwidart\Modules\LaravelModulesServiceProvider;
use Orchestra\Testbench\TestCase;

Expand All @@ -34,6 +35,7 @@ protected function getPackageProviders($app)
\Collective\Html\HtmlServiceProvider::class,
LaravelModulesServiceProvider::class,
CoreServiceProvider::class,
TranslationServiceProvider::class,
ContactServiceProvider::class,
EventServiceProvider::class,
LaravelLocalizationServiceProvider::class,
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"require": {
"php": ">=7.0",
"composer/installers": "~1.0",
"idavoll/core-module": "~3.0"
"idavoll/core-module": "~3.0",
"idavoll/translation-module": "~3.0"
},
"require-dev": {
"phpunit/phpunit": "~6.3",
Expand Down

0 comments on commit 17e4a00

Please sign in to comment.