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,15 +20,6 @@
require_relative '../../test_helper'
class Redmine::ApiTest::FilesTest < Redmine::ApiTest::Base
fixtures :projects,
:users,
:members,
:roles,
:member_roles,
:enabled_modules,
:attachments,
:versions
test "GET /projects/:project_id/files.xml should return the list of uploaded files" do
get '/projects/1/files.xml', :headers => credentials('jsmith')
assert_response :success