Dead code in WorkspaceTestUtilities

Created on 13 February 2025, about 2 months ago

In \Drupal\Tests\workspaces\Functional\WorkspaceTestUtilities, ::createAndActivateWorkspaceThroughUi() and ::createWorkspaceThroughUi() both have a line without side effects whose return value isn't used:

$this->getSession()->getPage()->hasContent("$label ($id)");

Unless it was meant to throw some kind of exception or something, I assume we can remove it.

๐Ÿ“Œ Task
Status

Active

Version

11.1 ๐Ÿ”ฅ

Component

workspaces.module

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States traviscarden

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024