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

Commit ac73d77

Browse files
authored
Merge pull request #720 from Gizra/feature/test_travis
Fix GroupSubscribeTest::testSubscribeAccess
2 parents bb5a4b2 + bc719f8 commit ac73d77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/Functional/GroupSubscribeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function testSubscribeAccess() {
270270
// @todo This currently returns a 500 error due to a bug in core. Change
271271
// this to a 403 or 404 when the bug is fixed.
272272
// @see https://www.drupal.org/node/2786897
273-
'code' => 500,
273+
'code' => version_compare(\Drupal::VERSION, '9.1.4', '>=') ? 404 : 500,
274274
],
275275

276276
// A non existing entity ID.

0 commit comments

Comments
 (0)