1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-06 07:31:31 +00:00

Fix test failures due to r19731 (#33296).

git-svn-id: http://svn.redmine.org/redmine/trunk@19733 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2020-04-29 07:43:04 +00:00
parent 9f1b772f3f
commit 8374ae8513
2 changed files with 4 additions and 0 deletions

View File

@ -166,5 +166,6 @@ class AdminControllerTest < Redmine::ControllerTest
Tracker.delete_all
IssueStatus.delete_all
Enumeration.delete_all
Query.delete_all
end
end

View File

@ -40,6 +40,7 @@ class DefaultDataTest < ActiveSupport::TestCase
assert_not_nil IssuePriority.first
assert_not_nil TimeEntryActivity.first
assert_not_nil WorkflowTransition.first
assert_not_nil Query.first
end
def test_load_for_all_language
@ -50,6 +51,7 @@ class DefaultDataTest < ActiveSupport::TestCase
assert_not_nil DocumentCategory.first
assert_not_nil IssuePriority.first
assert_not_nil TimeEntryActivity.first
assert_not_nil Query.first
rescue ActiveRecord::RecordInvalid => e
assert false, ":#{lang} default data is invalid (#{e.message})."
end
@ -62,5 +64,6 @@ class DefaultDataTest < ActiveSupport::TestCase
IssueStatus.delete_all
Enumeration.delete_all
WorkflowRule.delete_all
Query.delete_all
end
end