From 9d70a3e2c00f71dd66b70d3524e576fe4f63b325 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 8 Apr 2025 17:52:35 +1200 Subject: [PATCH] MNT Set title_format for unit test --- tests/php/Forms/SearchableDropdownTraitTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/php/Forms/SearchableDropdownTraitTest.php b/tests/php/Forms/SearchableDropdownTraitTest.php index 122519c764f..389a10d31c6 100644 --- a/tests/php/Forms/SearchableDropdownTraitTest.php +++ b/tests/php/Forms/SearchableDropdownTraitTest.php @@ -293,6 +293,7 @@ public static function provideSearchDataObjectWithMethodForLabelField(): array */ public function testSearchDataObjectWithMethodForLabelField(string $term, string $expected): void { + Member::config()->set('title_format', ['columns' => ['Surname', 'FirstName'], 'sep' => ', ']); $data = [ ['FirstName' => 'Alex', 'Surname' => 'Aziel', 'Email' => 'aaron.aziel@example.com'], ['FirstName' => 'Bob', 'Surname' => 'Brown', 'Email' => 'bob.brown@example.com'],