repository icon indicating copy to clipboard operation
repository copied to clipboard

ErrorException: Argument 1 passed to Bosnadev\Repositories\Eloquent\Repository::__construct() must be an instance of Illuminate\Container\Container, none given, called in

Open Mohib1992 opened this issue 8 years ago • 2 comments

When i run a test to test the controller class that issues arise.How to get ride of that.Here is my test class

Mohib1992 avatar Mar 21 '16 09:03 Mohib1992

Me too see error in make seeder

vinacms avatar Aug 13 '16 21:08 vinacms

Solution: $repo = new \App\Repositories\AppRepository(app(), \Illuminate\Support\Collection::make());

escuccim avatar Feb 23 '17 11:02 escuccim