We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dd236b commit 744ed7fCopy full SHA for 744ed7f
src/writing-tests-for-phpunit.rst
@@ -236,12 +236,10 @@ See :numref:`writing-tests-for-phpunit.examples.MultipleDependencies.php`
236
* @depends testProducerFirst
237
* @depends testProducerSecond
238
*/
239
- public function testConsumer()
+ public function testConsumer($a, $b)
240
{
241
- $this->assertSame(
242
- ['first', 'second'],
243
- func_get_args()
244
- );
+ $this->assertSame('first', $a);
+ $this->assertSame('second', $b);
245
}
246
247
?>
0 commit comments