Skip to content

Commit

Permalink
Remove prod-ent-enabled references from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed May 14, 2024
1 parent 7faaa56 commit 2e778b3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 17 deletions.
6 changes: 0 additions & 6 deletions assets/js/components/mock/service_create_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ <h2>General</h2>
<p class="parsley-errors"></p>
<input type="text" id="dashboard_bundle_service_type_general_teamName"
name="dashboard_bundle_service_type[general][teamName]" required="required"/></div>
<div class="form-row"><label for="dashboard_bundle_service_type_general_productionEntitiesEnabled">Production
entities enabled</label>
<p class="parsley-errors"></p>
<input type="checkbox" id="dashboard_bundle_service_type_general_productionEntitiesEnabled"
name="dashboard_bundle_service_type[general][productionEntitiesEnabled]" value="1"/>
</div>
<div class="form-row"><label for="dashboard_bundle_service_type_general_privacyQuestionsEnabled">Privacy
questions enabled</label>
<p class="parsley-errors"></p>
Expand Down
6 changes: 0 additions & 6 deletions assets/js/components/mock/service_edit_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ <h2>General</h2>
<input type="text" id="dashboard_bundle_edit_service_type_general_teamName"
name="dashboard_bundle_edit_service_type[general][teamName]" required="required"
value="team-23"/></div>
<div class="form-row"><label for="dashboard_bundle_edit_service_type_general_productionEntitiesEnabled">Production
entities enabled</label>
<p class="parsley-errors"></p>
<input type="checkbox" id="dashboard_bundle_edit_service_type_general_productionEntitiesEnabled"
name="dashboard_bundle_edit_service_type[general][productionEntitiesEnabled]" value="1"/>
</div>
<div class="form-row"><label for="dashboard_bundle_edit_service_type_general_privacyQuestionsEnabled">Privacy
questions enabled</label>
<p class="parsley-errors"></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -95,7 +94,6 @@ public function test_it_can_process_a_create_service_command()
$command->setTeamManagerEmail('[email protected]');
$command->setGuid($service->getGuid());
$command->setPrivacyQuestionsEnabled($service->isPrivacyQuestionsEnabled());
$command->setProductionEntitiesEnabled($service->isProductionEntitiesEnabled());
$command->setOrganizationNameEn($service->getOrganizationNameEn());
$command->setOrganizationNameNl($service->getOrganizationNameNl());
$command->setServiceType($service->getServiceType());
Expand Down Expand Up @@ -128,7 +126,6 @@ public function test_it_rejects_non_unique_create_service_command()
$command->setTeamName('team-foobar');
$command->setTeamManagerEmail('[email protected]');
$command->setGuid('30dd879c-ee2f-11db-8314-0800200c9a66');
$command->setProductionEntitiesEnabled(true);
$command->setPrivacyQuestionsEnabled(false);

$command->setServiceType('institution');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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());
Expand Down

0 comments on commit 2e778b3

Please sign in to comment.