Skip to content

Commit

Permalink
no longer testing below 5.75
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy committed Feb 21, 2025
1 parent c88d970 commit 966ea80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/FunctionalJavascript/CustomFieldSubmissionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public function testDynamicCustomFields() {
'query' => ['reset' => 1, 'action' => 'update', 'gid' => 1, 'id' => $this->_customFields['color_checkboxes']]
])->toString();
$this->drupalGet($fieldURL);
$this->getSession()->getPage()->uncheckField(version_compare(\CRM_Core_BAO_Domain::version(), '5.75.alpha1', '<') ? 'Active?' : 'Active');
$this->getSession()->getPage()->uncheckField('Active');
// $this->createScreenshot($this->htmlOutputDirectory . '/custom_field.png');
$this->getSession()->getPage()->pressButton('_qf_Field_done-bottom');

Expand All @@ -348,7 +348,7 @@ public function testDynamicCustomFields() {

//Re-enable the field.
$this->drupalGet($fieldURL);
$this->getSession()->getPage()->checkField(version_compare(\CRM_Core_BAO_Domain::version(), '5.75.alpha1', '<') ? 'Active?' : 'Active');
$this->getSession()->getPage()->checkField('Active');
$this->getSession()->getPage()->pressButton('_qf_Field_done-bottom');
$this->assertPageNoErrorMessages();

Expand Down

0 comments on commit 966ea80

Please sign in to comment.