Skip to content

Commit 2937e12

Browse files
committed
[Autocomplete] Improve test
1 parent 7a360dc commit 2937e12

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Autocomplete/tests/Fixtures/Autocompleter/CustomAttributesProductAutocompleter.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ class CustomAttributesProductAutocompleter extends CustomProductAutocompleter
88
{
99
public function getAttributes(object $entity): array
1010
{
11-
return ['disabled' => true];
11+
return [
12+
'disabled' => true,
13+
'value' => 'This value should be replaced with the result of getValue()',
14+
'text' => 'This value should be replaced with the result of getText()',
15+
];
1216
}
1317
}

0 commit comments

Comments
 (0)