Skip to content

Commit 4c633fa

Browse files
[Tests] Replace setMethods() by onlyMethods() and addMethods()
1 parent 105a7ac commit 4c633fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FormTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ protected function getFormFieldMock($name, $value = null)
874874
{
875875
$field = $this
876876
->getMockBuilder(FormField::class)
877-
->setMethods(['getName', 'getValue', 'setValue', 'initialize'])
877+
->onlyMethods(['getName', 'getValue', 'setValue', 'initialize'])
878878
->disableOriginalConstructor()
879879
->getMock()
880880
;

0 commit comments

Comments
 (0)