diff --git a/tests/features/collection/collection.membership_signup_leave.feature b/tests/features/collection/collection.membership_signup_leave.feature index 69c3b726e6f8d1dc332edd8675b6de59b97a31b1..90c95b72368bfb812574a63a18ba9f5831668b65 100644 --- a/tests/features/collection/collection.membership_signup_leave.feature +++ b/tests/features/collection/collection.membership_signup_leave.feature @@ -84,7 +84,7 @@ Feature: Joining and leaving collections through the web interface # There is a Code of Conduct document, what the user must accept before # requesting for membership, so the button text must not change. Then I should see the button "Join this collection" in the Header region - And I should see the text "To complete your membership, we need to make sure you agree with our Code of conduct. This helps us maintain a safe and respectful environment for all members of Closed collection with public CoC" + And I should see the text "To validate your membership and send it for approval, please tick the box agreeing with the Code of conduct. This helps us maintain a safe and respectful environment for all members of Closed collection with public CoC" And I should not see the following lines of text: | You have joined the collection and you are now able to publish content in it. | | When your membership is approved you will be able to publish content in it. | diff --git a/web/modules/custom/collection/src/Form/SubscribeToCollectionForm.php b/web/modules/custom/collection/src/Form/SubscribeToCollectionForm.php index 6a467ba0e465f11233d59caf1a51f35e9ebccbbd..a1cbca70c60d3fd546e8f276d07dec7b18d5a6a9 100644 --- a/web/modules/custom/collection/src/Form/SubscribeToCollectionForm.php +++ b/web/modules/custom/collection/src/Form/SubscribeToCollectionForm.php @@ -247,7 +247,7 @@ protected function getCodeOfConductComponents(?RdfInterface $collection): ?array $codeOfConductComponents['code_of_conduct_lead'] = [ '#type' => 'item', '#markup' => $this->t( - 'To complete your membership, we need to make sure you agree with our <a href=":code-of-conduct-url" target="_blank">Code of conduct</a>. This helps us maintain a safe and respectful environment for all members of @group-label', + 'To validate your membership and send it for approval, please tick the box agreeing with the <a href=":code-of-conduct-url" target="_blank">Code of conduct</a>. This helps us maintain a safe and respectful environment for all members of @group-label.', $codeOfConductArgs, ), '#weight' => -5,