User Tests
This commit is contained in:
parent
f4ae84e954
commit
49a48db8a0
1 changed files with 7 additions and 1 deletions
|
|
@ -42,12 +42,18 @@ class UserController extends BaseController
|
|||
|
||||
protected $user_repo;
|
||||
|
||||
public function __construct(UserRepository $user_repo)
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param \App\Repositories\UserRepository $user_repo The user repo
|
||||
*/
|
||||
public function __construct(UserRepository $user_repo)
|
||||
{
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->user_repo = $user_repo;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue