getEditor(); $updater = $this->getViewer(); $entities = $this->createEntityChainBelongingToUser($creator, $updater); app()->make(UserRepo::class)->destroy($creator); app()->make(PageRepo::class)->update($entities['page'], ['html' => '
hello!
>']); $this->checkEntitiesViewable($entities); } public function test_entities_viewable_after_updater_deletion() { // Create required assets and revisions $creator = $this->getViewer(); $updater = $this->getEditor(); $entities = $this->createEntityChainBelongingToUser($creator, $updater); app()->make(UserRepo::class)->destroy($updater); app()->make(PageRepo::class)->update($entities['page'], ['html' => 'Hello there!
']); $this->checkEntitiesViewable($entities); } /** * @param array