Skip to content

Commit

Permalink
Merge pull request #1893 from acquia/ACMS-4275
Browse files Browse the repository at this point in the history
ACMS-4275: Fix failing tests.
  • Loading branch information
vishalkhode1 authored Oct 14, 2024
2 parents 5cf8e34 + fd1bdce commit 31ffa24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ public function testFrontPageIsAdminContentPage(): void {
$account = $this->createUser();
$account->addRole('administrator');
$account->save();
// Don't use one-time login links instead submit the login form.
// @see https://www.drupal.org/project/drupal/issues/3469309
if (isset($this->useOneTimeLoginLinks)) {
$this->useOneTimeLoginLinks = FALSE;
}
$this->drupalLogin($account);
$this->assertSession()->addressEquals('/admin/content');
$this->assertSession()->statusCodeEquals(200);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public static function providerMenu(): array {
[
'Scheduled Content',
'Add content',
'Blocks',
'Files',
'Media',
'Scheduled Media',
Expand Down

0 comments on commit 31ffa24

Please sign in to comment.