/** * Setup the test environment */ function setUp() { parent::setUp(); Route::eloquent('api/posts', Post::class); }