diff --git a/tests/php/Forms/GroupedDropdownFieldTest.php b/tests/php/Forms/GroupedDropdownFieldTest.php index fabb419b0..68b4a2b72 100644 --- a/tests/php/Forms/GroupedDropdownFieldTest.php +++ b/tests/php/Forms/GroupedDropdownFieldTest.php @@ -153,14 +153,14 @@ class GroupedDropdownFieldTest extends SapphireTest // value on first level $field->setValue("1"); $this->assertRegExp( - '/One<\/span>/', + '#One\n?#', (string)$field->performReadonlyTransformation()->Field() ); // value on first level $field->setValue("2"); $this->assertRegExp( - '/Two<\/span>/', + '#Two\n?#', (string)$field->performReadonlyTransformation()->Field() ); }