Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #514 from Gizra/feature/cleanup_cs_errors
Browse files Browse the repository at this point in the history
Fixed codesniffer errors
  • Loading branch information
pfrenssen authored Jun 10, 2019
2 parents 380756a + 81f6db2 commit 79b79db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Access/GroupCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\og\Og;
use Drupal\og\OgAccess;
use Drupal\og\OgAccessInterface;
use Symfony\Component\Routing\Route;

Expand Down
8 changes: 4 additions & 4 deletions tests/src/Kernel/PermissionEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function permissionEventDataProvider() {
// Test retrieving permissions for a group that has no group content types
// associated with it.
[
[],
[],
// It should only return the default permissions.
$default_permissions,
// The list of permissions should only contain the group level
Expand All @@ -183,9 +183,9 @@ public function permissionEventDataProvider() {
// Test retrieving permissions for a group that has a group content type
// associated with it.
[
[
'node' => ['test_group_content'],
],
[
'node' => ['test_group_content'],
],
// It should return the default permissions as well as the permissions
// to create, delete and update group content.
array_merge($default_permissions, $group_content_permissions),
Expand Down

0 comments on commit 79b79db

Please sign in to comment.