From f2ec9ec417907a5b5fae3005f2abde8ba7a463b7 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 26 Oct 2022 12:57:34 +0200 Subject: [PATCH] SelectElementTest: Remove method `testLabelCanBeChanged()` SelectOption now has its own test class --- tests/FormElement/SelectElementTest.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/FormElement/SelectElementTest.php b/tests/FormElement/SelectElementTest.php index 2d5de9ba..28339a67 100644 --- a/tests/FormElement/SelectElementTest.php +++ b/tests/FormElement/SelectElementTest.php @@ -257,11 +257,4 @@ public function testSetValueSelectsAnOption() $select ); } - - public function testLabelCanBeChanged() - { - $option = new SelectOption('value', 'Original label'); - $option->setLabel('New label'); - $this->assertHtml('', $option); - } }