Issue Task Resolved

#110726Correct expected and actual argument order in unit tests

Wouter Wolters 09/16/26, 17:13 updated 09/19/26, 09:25

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

  1. Wouter Wolters commented and changed status Under Review Resolved done 0 % 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.