diff options
author | Go MAEDA <maeda@farend.jp> | 2023-04-16 05:58:22 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-04-16 05:58:22 +0000 |
commit | 3c8b9535a38a2675d6f41ab34c6def38f98a7421 (patch) | |
tree | 43e68fdf5dc7777bef105a45cc84deabb17e8f76 | |
parent | 1f5c8742e3dfcc3546f10f032c3b61a2f6b6d7a6 (diff) | |
download | redmine-3c8b9535a38a2675d6f41ab34c6def38f98a7421.tar.gz redmine-3c8b9535a38a2675d6f41ab34c6def38f98a7421.zip |
Fix random test failure of VersionsTextHelperTest#test_version_to_text (#36679).
git-svn-id: https://svn.redmine.org/redmine/trunk@22196 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/lib/redmine/export/text/versions_text_helper_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/export/text/versions_text_helper_test.rb b/test/unit/lib/redmine/export/text/versions_text_helper_test.rb index 92d62a531..57c49a063 100644 --- a/test/unit/lib/redmine/export/text/versions_text_helper_test.rb +++ b/test/unit/lib/redmine/export/text/versions_text_helper_test.rb @@ -36,6 +36,8 @@ class VersionsTextHelperTest < ActiveSupport::TestCase * Bug #11: Closed issue on a closed version EXPECTED - assert_equal expected, version_to_text(Version.find(1)) + with_settings date_format: '%m/%d/%Y' do + assert_equal expected, version_to_text(Version.find(1)) + end end end |