Skip to content

Commit f76de9f

Browse files
Merge branch '3.4' into 4.2
* 3.4: Use willReturn() instead of will(returnValue()).
2 parents 53c9776 + adb96e6 commit f76de9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/FormTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,13 +862,13 @@ protected function getFormFieldMock($name, $value = null)
862862
$field
863863
->expects($this->any())
864864
->method('getName')
865-
->will($this->returnValue($name))
865+
->willReturn($name)
866866
;
867867

868868
$field
869869
->expects($this->any())
870870
->method('getValue')
871-
->will($this->returnValue($value))
871+
->willReturn($value)
872872
;
873873

874874
return $field;

0 commit comments

Comments
 (0)