Expected value is the first parameter to assertSame() or assertEquals(). And turn to use assertCount() for some assertions aginst count of array. Based on code search `assert(?:Same|Equals)\(.+,.+expected` and I look through files roughly, so some assertions that don't contains 'expected' are also fixed. In the meantime, some assertions that I am not clear about are not touched. Change-Id: I75798b60d29fd19b33f4fdf34ed3c788db420d01 |
||
|---|---|---|
| .. | ||
| CommentBatchTest.php | ||
| CommentFormatterTestUtils.php | ||
| RevisionCommentBatchTest.php | ||