diff --git a/tests/CmsInstallTest.php b/tests/CmsInstallTest.php index fa5f959..cd5c4a2 100644 --- a/tests/CmsInstallTest.php +++ b/tests/CmsInstallTest.php @@ -1,8 +1,5 @@ roleRepository = app(\WebEd\Base\ACL\Repositories\Contracts\RoleContract::class); - $this->userRepository = app(\WebEd\Base\Users\Repositories\Contracts\UserContract::class); + $this->roleRepository = app(\WebEd\Base\ACL\Repositories\Contracts\RoleRepositoryContract::class); + $this->userRepository = app(\WebEd\Base\Users\Repositories\Contracts\UserRepositoryContract::class); } /** @@ -45,7 +42,7 @@ public function testCmsInstall() protected function createSuperAdminRole() { - $role = new EloquentRole(); + $role = new \WebEd\Base\ACL\Models\Role(); $role->name = 'Super Admin'; $role->slug = 'super-admin'; $this->roleRepository->create([