Skip to content

[14.0][FIX] contract: Set fixed date to check test correctly.#966

Merged
OCA-git-bot merged 1 commit into
OCA:14.0from
Tecnativa:14.0-fix-contract-test_check_month_name_marker
Jun 23, 2023
Merged

[14.0][FIX] contract: Set fixed date to check test correctly.#966
OCA-git-bot merged 1 commit into
OCA:14.0from
Tecnativa:14.0-fix-contract-test_check_month_name_marker

Conversation

@victoralmau
Copy link
Copy Markdown
Member

@victoralmau victoralmau commented Jun 23, 2023

Set fixed date to check test correctly (related to #946).

We need to set a fixed date for teststest_check_month_name_marker to check against the month of the date we are set (otherwise it would check against the month of today).

Please @pedrobaeza and @carlosdauden can you review it?

@Tecnativa

@pedrobaeza pedrobaeza added this to the 14.0 milestone Jun 23, 2023
Copy link
Copy Markdown
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for avoiding the problem around midnight? If so, please comment whole problem on the commit message.

We need to set a fixed date for teststest_check_month_name_marker to check against
the month of the date we are set (otherwise it would check against the month of today).
@victoralmau victoralmau force-pushed the 14.0-fix-contract-test_check_month_name_marker branch from ff92fc9 to 6be12f4 Compare June 23, 2023 10:31
@victoralmau
Copy link
Copy Markdown
Member Author

Is this for avoiding the problem around midnight? If so, please comment whole problem on the commit message.

No, it is a problem specific to teststest_check_month_name_marker and the month being checked.

@pedrobaeza
Copy link
Copy Markdown
Member

Ok, thanks for the extra commit message.

Fast tracking:

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 14.0-ocabot-merge-pr-966-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit b8e5b63 into OCA:14.0 Jun 23, 2023
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 76bf8f4. Thanks a lot for contributing to OCA. ❤️

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