create(); Interaction::factory(5)->for($user)->create(); $this->getAs('api/songs/recently-played', $user) ->assertJsonStructure(['*' => SongTest::JSON_STRUCTURE]); } }