#110726Correct expected and actual argument order in unit tests
Description
Correct expected and actual argument order in unit tests
Several unit tests pass the actual value as the first argument and the expected value as the second argument to PHPUnit assertions.
This does not affect successful assertions, but it reverses the expected and actual values in failure messages and generated diffs, making failures harder to understand.
Pass the expected value first and the actual result second in the affected imaging, utility, and link validator tests.
Reviews 2
History 13
-
Gerrit Code Review pushed patch set 1 for main to change 95884 status
NewUnder Review <span data-processor="relativetime" data-value="2026-09-16T17:16:47+00:00" > 09/16/26, 17:16 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 95925 <span data-processor="relativetime" data-value="2026-09-19T09:10:41+00:00" > 09/19/26, 09:10 </span>
-
Wouter Wolters commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-09-19T09:25:09+00:00" > 09/19/26, 09:25 </span>
Applied in changeset commit:ffeebfd66e22ba85a7400d3be364c9cd21d7475d.