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 #720 from Gizra/feature/test_travis
Browse files Browse the repository at this point in the history
Fix GroupSubscribeTest::testSubscribeAccess
  • Loading branch information
MPParsley authored Apr 22, 2021
2 parents bb5a4b2 + bc719f8 commit ac73d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Functional/GroupSubscribeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public function testSubscribeAccess() {
// @todo This currently returns a 500 error due to a bug in core. Change
// this to a 403 or 404 when the bug is fixed.
// @see https://www.drupal.org/node/2786897
'code' => 500,
'code' => version_compare(\Drupal::VERSION, '9.1.4', '>=') ? 404 : 500,
],

// A non existing entity ID.
Expand Down

0 comments on commit ac73d77

Please sign in to comment.