Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function testMapping(string $old, string $new) : void {
* - the old permission from which we are mapping; and,
* - the new permission to which we are mapping.
*/
public function mapping() : array {
public static function mapping() : array {
return [
'admin' => ['administer embargoes settings', 'administer embargo'],
'manage' => ['manage embargoes', 'manage embargo'],
Expand Down
4 changes: 2 additions & 2 deletions tests/src/Kernel/EmbargoKernelTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ protected function setEmbargoPastUnpublishDate(EmbargoInterface &$embargo) {
/**
* Data provider for media operations.
*/
public function providerMediaFileOperations(): array {
public static function providerMediaFileOperations(): array {
return [
'View' => ['view'],
'Download' => ['download'],
Expand All @@ -123,7 +123,7 @@ public function providerMediaFileOperations(): array {
/**
* Data provider for node operations.
*/
public function providerNodeOperations(): array {
public static function providerNodeOperations(): array {
return [
'View' => ['view'],
'Edit' => ['edit'],
Expand Down
Loading