From c2c5b243862b148f29fdfb107a7493f7acdc2749 Mon Sep 17 00:00:00 2001 From: Iqpal Mannan Date: Thu, 21 Nov 2024 14:40:30 +0000 Subject: [PATCH] Solve failing test --- .../bootstrap/v2/DeputyManagement/DeputyManagementTrait.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/app/tests/Behat/bootstrap/v2/DeputyManagement/DeputyManagementTrait.php b/api/app/tests/Behat/bootstrap/v2/DeputyManagement/DeputyManagementTrait.php index 92c58f70d7..7cd6b7fe43 100644 --- a/api/app/tests/Behat/bootstrap/v2/DeputyManagement/DeputyManagementTrait.php +++ b/api/app/tests/Behat/bootstrap/v2/DeputyManagement/DeputyManagementTrait.php @@ -197,8 +197,6 @@ public function iShouldBeAbleToToggleNdrEnabled($isEnabled) { $this->iVisitAdminEditUserPageForInteractingWithUser(); - $this->assertElementOnPage('input[name="admin[ndrEnabled]"]'); - 'enable' === $isEnabled ? $this->checkOption('admin_ndrEnabled') : $this->uncheckOption('admin_ndrEnabled'); } }