From 2e778b39dfee273397307493f986c00ec96b1e14 Mon Sep 17 00:00:00 2001 From: Michiel Kodde Date: Tue, 14 May 2024 09:39:53 +0200 Subject: [PATCH] Remove prod-ent-enabled references from tests --- assets/js/components/mock/service_create_form.html | 6 ------ assets/js/components/mock/service_edit_form.html | 6 ------ .../Service/CreateServiceCommandHandlerTest.php | 3 --- .../Service/EditServiceCommandHandlerTest.php | 2 -- 4 files changed, 17 deletions(-) diff --git a/assets/js/components/mock/service_create_form.html b/assets/js/components/mock/service_create_form.html index 9ec105c3f..5041f1cb4 100644 --- a/assets/js/components/mock/service_create_form.html +++ b/assets/js/components/mock/service_create_form.html @@ -20,12 +20,6 @@

General

-
-

- -

diff --git a/assets/js/components/mock/service_edit_form.html b/assets/js/components/mock/service_edit_form.html index 6c9fe9756..32b00aac9 100644 --- a/assets/js/components/mock/service_edit_form.html +++ b/assets/js/components/mock/service_edit_form.html @@ -23,12 +23,6 @@

General

-
-

- -

diff --git a/tests/integration/Application/CommandHandler/Service/CreateServiceCommandHandlerTest.php b/tests/integration/Application/CommandHandler/Service/CreateServiceCommandHandlerTest.php index 46f0cc80f..1ad84e501 100644 --- a/tests/integration/Application/CommandHandler/Service/CreateServiceCommandHandlerTest.php +++ b/tests/integration/Application/CommandHandler/Service/CreateServiceCommandHandlerTest.php @@ -80,7 +80,6 @@ public function test_it_can_process_a_create_service_command() $service->setTeamName('team-foobar'); $service->setGuid('30dd879c-ee2f-11db-8314-0800200c9a66'); $service->setPrivacyQuestionsEnabled(true); - $service->setProductionEntitiesEnabled(true); $service->setServiceType('institution'); $service->setIntakeStatus('yes'); @@ -95,7 +94,6 @@ public function test_it_can_process_a_create_service_command() $command->setTeamManagerEmail('tiffany@aching.do'); $command->setGuid($service->getGuid()); $command->setPrivacyQuestionsEnabled($service->isPrivacyQuestionsEnabled()); - $command->setProductionEntitiesEnabled($service->isProductionEntitiesEnabled()); $command->setOrganizationNameEn($service->getOrganizationNameEn()); $command->setOrganizationNameNl($service->getOrganizationNameNl()); $command->setServiceType($service->getServiceType()); @@ -128,7 +126,6 @@ public function test_it_rejects_non_unique_create_service_command() $command->setTeamName('team-foobar'); $command->setTeamManagerEmail('tiffany@aching.do'); $command->setGuid('30dd879c-ee2f-11db-8314-0800200c9a66'); - $command->setProductionEntitiesEnabled(true); $command->setPrivacyQuestionsEnabled(false); $command->setServiceType('institution'); diff --git a/tests/integration/Application/CommandHandler/Service/EditServiceCommandHandlerTest.php b/tests/integration/Application/CommandHandler/Service/EditServiceCommandHandlerTest.php index ff94d300b..3cccb3e64 100644 --- a/tests/integration/Application/CommandHandler/Service/EditServiceCommandHandlerTest.php +++ b/tests/integration/Application/CommandHandler/Service/EditServiceCommandHandlerTest.php @@ -68,7 +68,6 @@ public function test_it_can_process_an_edit_service_command() $command->setTeamName('team-foobar'); $command->setGuid('30dd879c-ee2f-11db-8314-0800200c9a66'); $command->setPrivacyQuestionsEnabled(false); - $command->setProductionEntitiesEnabled(false); $command->setPrivacyQuestionsAnswered('yes'); $command->setServiceType('institution'); @@ -86,7 +85,6 @@ public function test_it_can_process_an_edit_service_command() $this->assertEquals('Foobar', $arg->getName()); $this->assertEquals('team-foobar', $arg->getTeamName()); $this->assertEquals('30dd879c-ee2f-11db-8314-0800200c9a66', $arg->getGuid()); - $this->assertEquals(false, $arg->isPrivacyQuestionsEnabled()); $this->assertEquals('no', $arg->getContractSigned()); $this->assertEquals('no', $arg->getSurfconextRepresentativeApproved()); $this->assertEquals('not-applicable', $arg->getIntakeStatus());