-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Thanks to the great tutorials!
I noticed a mistake in your code
$this->assertEquals($v[0], 'foo');
$this->assertEquals($v[1], 'bar');
$this->assertEquals($v[2], 'baz');
$this->assertEquals($v[3], 'boo');
$this->assertEquals($v[4], 'bop');
In PHPUnit (as well as all xUnit frameworks) the first argument in assertion is expected, and second is actual. So you should flip this code to look like:
$this->assertEquals('foo', $v[0]);
Metadata
Metadata
Assignees
Labels
No labels