From d1b7d383fc8dfacf6a6645c216f736628861a982 Mon Sep 17 00:00:00 2001 From: Eduardo Morales Date: Tue, 7 Nov 2023 13:42:35 +0100 Subject: [PATCH] Remove debug trace --- src/Behat/Context/EntityContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Behat/Context/EntityContext.php b/src/Behat/Context/EntityContext.php index 9a13719..3e41d48 100644 --- a/src/Behat/Context/EntityContext.php +++ b/src/Behat/Context/EntityContext.php @@ -87,7 +87,7 @@ public function goToTheLastEntityCreated($entity_type, $bundle = NULL, $subpath public function goToTheEntityWithLabel($entity_type, $label, $subpath = NULL, $language = NULL) { $entity = $this->getCore()->loadEntityByLabel($entity_type, $label); $path = $this->getCore()->buildEntityUri($entity_type, $entity, $subpath); - print_r([$path]); + if ($language) { $prefix = $this->getCore()->getLanguagePrefix($language); $path = $prefix . '/' . $path;