|
|
@ -52,7 +52,8 @@ class DeleteMediaTest extends IslandoraFunctionalTestBase { |
|
|
|
|
|
|
|
|
|
|
|
if (version_compare(\Drupal::VERSION, '10.1', '>=')) { |
|
|
|
if (version_compare(\Drupal::VERSION, '10.1', '>=')) { |
|
|
|
$permissions = ['create media', 'delete any media', 'delete any file']; |
|
|
|
$permissions = ['create media', 'delete any media', 'delete any file']; |
|
|
|
} else { |
|
|
|
} |
|
|
|
|
|
|
|
else { |
|
|
|
$permissions = ['create media', 'delete any media']; |
|
|
|
$permissions = ['create media', 'delete any media']; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|