mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +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 Redmine::ApiTest::TimeEntriesTest < Redmine::ApiTest::Base
|
||||
fixtures :projects, :trackers, :issue_statuses, :issues,
|
||||
:enumerations, :users, :issue_categories,
|
||||
:projects_trackers,
|
||||
:roles,
|
||||
:member_roles,
|
||||
:members,
|
||||
:enabled_modules,
|
||||
:time_entries
|
||||
|
||||
test "GET /time_entries.xml should return time entries" do
|
||||
get '/time_entries.xml', :headers => credentials('jsmith')
|
||||
assert_response :success
|
||||
|
||||
Reference in New Issue
Block a user