Skip to content

Commit

Permalink
Remove invalid test from branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave MacFarlane committed Oct 2, 2024
1 parent 89d3fde commit 1d73b07
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions modules/media/test/MediaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ function testLoadsWithPermissionRead()
"An error occured while loading the page.",
$bodyText
);
$bodyText = $this->safeFindElement(
WebDriverBy::cssSelector("#dynamictable > thead > tr")
)->getText();
$this->assertStringNotContainsString("Edit Metadata", $bodyText);


$this->resetPermissions();
}
/**
Expand All @@ -89,10 +85,6 @@ function testLoadsWithPermissionWrite()
"An error occured while loading the page.",
$bodyText
);
$bodyText = $this->safeFindElement(
WebDriverBy::cssSelector("#dynamictable > thead > tr")
)->getText();
$this->assertStringContainsString("Edit Metadata", $bodyText);
$this->resetPermissions();
}
/**
Expand Down

0 comments on commit 1d73b07

Please sign in to comment.