I tried creating a unit test for the relationships between my User and Shop models, however when I run vendor\\\\bin\\\\phpunit this e
User
Shop
vendor\\\\bin\\\\phpunit
First of all, setUp() is called before every test, so you shouldn't call it from within the constructor
setUp()
Second of all, you should call the parent::setUp() in your setUp() to initialize the app instance.
parent::setUp()