diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/default_data_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/default_data_test.rb b/test/unit/default_data_test.rb index ae637ba39..457f885ee 100644 --- a/test/unit/default_data_test.rb +++ b/test/unit/default_data_test.rb @@ -38,6 +38,9 @@ class DefaultDataTest < Test::Unit::TestCase IssueStatus.delete_all Enumeration.delete_all assert Redmine::DefaultData::Loader::load(lang) + assert_not_nil DocumentCategory.first + assert_not_nil IssuePriority.first + assert_not_nil TimeEntryActivity.first rescue ActiveRecord::RecordInvalid => e assert false, ":#{lang} default data is invalid (#{e.message})." end |