Setting configuration for user

parent e88f6df0
...@@ -38,6 +38,14 @@ abstract class BaseUserTestCase extends TestCase ...@@ -38,6 +38,14 @@ abstract class BaseUserTestCase extends TestCase
)); ));
$app['config']->set('translatable.locales', ['en', 'fr']); $app['config']->set('translatable.locales', ['en', 'fr']);
$app['config']->set('modules.paths.modules', __DIR__ . '/../Modules'); $app['config']->set('modules.paths.modules', __DIR__ . '/../Modules');
$app['config']->set('cartalyst.sentinel.users.model', \Modules\User\Entities\Sentinel\User::class);
$app['config']->set('asgard.user.config.fillable', [
'email',
'password',
'permissions',
'first_name',
'last_name',
]);
} }
private function resetDatabase() private function resetDatabase()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment