Skip to content

Commit 5f6c5b8

Browse files
committed
Update php unit test
1 parent 19f30ed commit 5f6c5b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Attribute/SelectTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @author Christian Schiffler <[email protected]>
1515
* @author David Molineus <[email protected]>
1616
* @author Sven Baumann <[email protected]>
17-
* @copyright 2012-2021 The MetaModels team.
17+
* @copyright 2012-2022 The MetaModels team.
1818
* @license https://github.com/MetaModels/attribute_select/blob/master/LICENSE LGPL-3.0-or-later
1919
* @filesource
2020
*/
@@ -219,13 +219,13 @@ public function testWidgetToValueForNonNull(): void
219219
$builder
220220
->expects($this->once())
221221
->method('where')
222-
->with('t.id=:id')
222+
->with('t.id=:value')
223223
->willReturn($builder);
224224

225225
$builder
226226
->expects($this->once())
227227
->method('setParameter')
228-
->with('id', 10)
228+
->with('value', 10)
229229
->willReturn($builder);
230230

231231
$builder

0 commit comments

Comments
 (0)