create(); $collaborator = create_user(); $playlist->addCollaborator($collaborator); $this->putAs("api/playlists/$playlist->id/cover", ['cover' => 'data:image/jpeg;base64,Rm9v'], $collaborator) ->assertForbidden(); } }