mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 17:56:03 +01:00
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:
@@ -20,15 +20,6 @@
|
||||
require_relative '../test_helper'
|
||||
|
||||
class AttachmentsTest < Redmine::IntegrationTest
|
||||
fixtures :projects, :enabled_modules,
|
||||
:users, :email_addresses,
|
||||
:roles, :members, :member_roles,
|
||||
:trackers, :projects_trackers,
|
||||
:issues, :issue_statuses, :enumerations,
|
||||
:attachments,
|
||||
:wiki_content_versions, :wiki_contents, :wiki_pages,
|
||||
:journals, :journal_details
|
||||
|
||||
def test_upload_should_set_default_content_type
|
||||
log_user('jsmith', 'jsmith')
|
||||
assert_difference 'Attachment.count' do
|
||||
|
||||
Reference in New Issue
Block a user