summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/files_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/integration/api_test/files_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/integration/api_test/files_test.rb')
-rw-r--r--test/integration/api_test/files_test.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/integration/api_test/files_test.rb b/test/integration/api_test/files_test.rb
index 1a66d445f..10361aab3 100644
--- a/test/integration/api_test/files_test.rb
+++ b/test/integration/api_test/files_test.rb
@@ -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