Project

General

Profile

Actions

Patch #42570

closed

test_project_statuses_values_should_return_all_statuses should always run in "en"

Added by Soren Stoutner 8 days ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

My name is Soren Stoutner. I have recently become one of the maintainers of the Debian Redmine package.

https://tracker.debian.org/pkg/redmine

We have experienced a problem where `test_project_statuses_values_should_return_all_statuses` sometimes fails because the test sometimes runs in a foreign language, causing the return values to not match.

https://salsa.debian.org/ruby-team/redmine/-/jobs/7360518#L3870

This can be resolved by explicitly setting the language for this test, similar to `test_project_statuses_filter_should_return_project_statuses`.

Attached is a patch.


Files

run-some-tests-in-English.patch (481 Bytes) run-some-tests-in-English.patch Soren Stoutner, 2025-04-12 00:24

Related issues

Is duplicate of Redmine - Patch #42562: Fix random test failure in ProjectAdminQueryTest due to missing language settingClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA 8 days ago

  • Category set to Code cleanup/refactoring
  • Status changed from New to Closed

Thank you for reporting this issue.
Actually, I fixed it yesterday in #42562.

Actions #2

Updated by Go MAEDA 8 days ago

  • Is duplicate of Patch #42562: Fix random test failure in ProjectAdminQueryTest due to missing language setting added
Actions #3

Updated by Soren Stoutner 8 days ago

Thanks.

I apologize for not catching that before opening the issue.

Actions

Also available in: Atom PDF