From 4fb1e4bea0edb5fe520aa8257f5d867232c8f729 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 11 Dec 2024 10:17:57 +0000 Subject: 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 --- test/integration/api_test/issues_test.rb | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'test/integration/api_test/issues_test.rb') diff --git a/test/integration/api_test/issues_test.rb b/test/integration/api_test/issues_test.rb index 02840b2ef..df558d797 100644 --- a/test/integration/api_test/issues_test.rb +++ b/test/integration/api_test/issues_test.rb @@ -20,34 +20,6 @@ require_relative '../../test_helper' class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base - fixtures( - :projects, - :users, - :user_preferences, - :roles, - :members, - :member_roles, - :issues, - :issue_statuses, - :issue_relations, - :versions, - :trackers, - :projects_trackers, - :issue_categories, - :enabled_modules, - :enumerations, - :attachments, - :workflows, - :custom_fields, - :custom_values, - :custom_fields_projects, - :custom_fields_trackers, - :time_entries, - :journals, - :journal_details, - :queries, - :attachments) - test "GET /issues.xml should contain metadata" do get '/issues.xml' assert_select 'issues[type=array][total_count][limit="25"][offset="0"]' -- cgit v1.2.3