Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test - Fix backwards params to assertEquals #24877

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Nov 1, 2022

Overview

This unit test tends to be ornery. In #24860 it failed an html template for no apparent reason (I changed some irrelevant whitespace in the file and then the mysterious failure disappeared).
The failure was especially difficult to interpret because this call to assertEquals had the order of params mixed up.

Before

Mystery errors; diff backwards.

After

Mystery errors but at least the diff is in the correct order.

@civibot
Copy link

civibot bot commented Nov 1, 2022

(Standard links)

@civibot civibot bot added the master label Nov 1, 2022
@seamuslee001 seamuslee001 merged commit ccf9117 into civicrm:master Nov 1, 2022
@seamuslee001 seamuslee001 deleted the backwardsTest branch November 1, 2022 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants