Skip to content

Commit 744ed7f

Browse files
reinholdfueredersebastianbergmann
authored andcommitted
1 parent 8dd236b commit 744ed7f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/writing-tests-for-phpunit.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,10 @@ See :numref:`writing-tests-for-phpunit.examples.MultipleDependencies.php`
236236
* @depends testProducerFirst
237237
* @depends testProducerSecond
238238
*/
239-
public function testConsumer()
239+
public function testConsumer($a, $b)
240240
{
241-
$this->assertSame(
242-
['first', 'second'],
243-
func_get_args()
244-
);
241+
$this->assertSame('first', $a);
242+
$this->assertSame('second', $b);
245243
}
246244
}
247245
?>

0 commit comments

Comments
 (0)