Browse Source

phpcs.

pull/960/head
Rosie Le Faive 1 year ago
parent
commit
408776437b
  1. 5
      tests/src/Functional/DeleteMediaTest.php

5
tests/src/Functional/DeleteMediaTest.php

@ -50,9 +50,10 @@ class DeleteMediaTest extends IslandoraFunctionalTestBase {
public function setUp(): void { public function setUp(): void {
parent::setUp(); parent::setUp();
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'];
} }

Loading…
Cancel
Save