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 c238f0e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions modules/media/test/MediaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ 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 c238f0e

Please sign in to comment.