Unverified Commit 401b978c authored by Jonathan Hedstrom's avatar Jonathan Hedstrom
Browse files

Issue #2903949 by jhedstrom: Fix failing tests due to core API changes

parent 3d1688f8
Loading
Loading
Loading
Loading
+1 −1
Changes for tests/src/Functional/RevisionAccessTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ class RevisionAccessTest extends TestBase {

    // Verify the default access still works for users with appropriate
    // permissions.
    $admin = $this->createUser(['view all revisions']);
    $admin = $this->createUser(['view all revisions', 'view any unpublished content']);
    $this->drupalLogin($admin);
    $this->drupalGet($this->node->toUrl('version-history'));
    $this->assertSession()->statusCodeEquals(200);