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
This commit is contained in:
Go MAEDA
2024-12-11 10:17:57 +00:00
parent 7ae0427c9e
commit 4fb1e4bea0
241 changed files with 2 additions and 1378 deletions

View File

@@ -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"]'