From a1bafa280c632abdf650a14b06b77392a61f2ac5 Mon Sep 17 00:00:00 2001 From: matx132 Date: Mon, 24 Jul 2023 16:37:01 +0200 Subject: [PATCH] Corrected Behat test --- src/lib/Behat/Context/UserRegistrationContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/Behat/Context/UserRegistrationContext.php b/src/lib/Behat/Context/UserRegistrationContext.php index d87998bb..c914e68f 100644 --- a/src/lib/Behat/Context/UserRegistrationContext.php +++ b/src/lib/Behat/Context/UserRegistrationContext.php @@ -302,8 +302,8 @@ public function addUserRegistrationConfiguration(PyStringNode $extraConfiguratio { $extraConfigurationString = str_replace( '', - $this->customUserGroup->id, - $extraConfigurationString + (string)$this->customUserGroup->id, + $extraConfigurationString->getRaw() ); $this->yamlConfigurationContext->addConfiguration(Yaml::parse($extraConfigurationString));