BlockContentRevisionsTest should use admin account

Created on 27 August 2016, about 9 years ago
Updated 21 December 2023, over 1 year ago
$this->drupalGet('block/' . $loaded->id());
$this->assertNoText($loaded->body->value, 'Revision body text is not present on default version of block.');

assertNoText() doesn't make sense here because the page is not available for anonymous user.

I am also curious about user variable. Is it still needed?

/** @var UserInterface $user */
$user = User::load(1);
πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
Block contentΒ  β†’

Last updated 18 days ago

Created by

πŸ‡·πŸ‡ΊRussia Chi

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024