|
|
@ -50,7 +50,7 @@ class DeleteMediaTest extends IslandoraFunctionalTestBase { |
|
|
|
public function setUp(): void { |
|
|
|
public function setUp(): void { |
|
|
|
parent::setUp(); |
|
|
|
parent::setUp(); |
|
|
|
|
|
|
|
|
|
|
|
if (floatval(\Drupal::VERSION) >= 10.1) { |
|
|
|
if (version_compare(\Drupal::VERSION, '10.1', '>=')){ |
|
|
|
$permissions = ['create media', 'delete any media', 'delete any files']; |
|
|
|
$permissions = ['create media', 'delete any media', 'delete any files']; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$permissions = ['create media', 'delete any media']; |
|
|
|
$permissions = ['create media', 'delete any media']; |
|
|
|