summaryrefslogtreecommitdiffstats
path: root/test/helpers/timelog_helper_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-12-11 10:17:57 +0000
committerGo MAEDA <maeda@farend.jp>2024-12-11 10:17:57 +0000
commit4fb1e4bea0edb5fe520aa8257f5d867232c8f729 (patch)
treea613cae1a23801f8596e14f2c5d6557cb6060c46 /test/helpers/timelog_helper_test.rb
parent7ae0427c9ee891820954dfbd72c129d65989b3e8 (diff)
downloadredmine-4fb1e4bea0edb5fe520aa8257f5d867232c8f729.tar.gz
redmine-4fb1e4bea0edb5fe520aa8257f5d867232c8f729.zip
Use `fixtures :all` to ensure consistent test data and improve test reliability (#41961).
Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/helpers/timelog_helper_test.rb')
-rw-r--r--test/helpers/timelog_helper_test.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/helpers/timelog_helper_test.rb b/test/helpers/timelog_helper_test.rb
index e550ae194..1d9690abb 100644
--- a/test/helpers/timelog_helper_test.rb
+++ b/test/helpers/timelog_helper_test.rb
@@ -25,14 +25,6 @@ class TimelogHelperTest < Redmine::HelperTest
include ActionView::Helpers::DateHelper
include ERB::Util
- fixtures :projects, :roles, :enabled_modules, :users,
- :repositories, :changesets,
- :trackers, :issue_statuses, :issues, :versions, :documents,
- :wikis, :wiki_pages, :wiki_contents,
- :boards, :messages,
- :attachments,
- :enumerations
-
def test_activities_collection_for_select_options_should_return_array_of_activity_names_and_ids
activities = activity_collection_for_select_options
assert activities.include?(["Design", 9])