Skip to content

Commit

Permalink
SelectElementTest: Remove method testLabelCanBeChanged()
Browse files Browse the repository at this point in the history
SelectOption now has its own test class
  • Loading branch information
sukhwinder33445 committed Oct 26, 2022
1 parent a4002b6 commit f2ec9ec
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/FormElement/SelectElementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,4 @@ public function testSetValueSelectsAnOption()
$select
);
}

public function testLabelCanBeChanged()
{
$option = new SelectOption('value', 'Original label');
$option->setLabel('New label');
$this->assertHtml('<option value="value">New label</option>', $option);
}
}

0 comments on commit f2ec9ec

Please sign in to comment.