Added article count test.

This commit is contained in:
Martin Edenhofer 2015-04-10 21:37:36 +02:00
parent b4eb49ab57
commit a96d288d48

View file

@ -36,6 +36,7 @@ class OtrsImportTest < ActiveSupport::TestCase
# check count of imported items
test 'check counts' do
assert_equal( 603, Ticket.count, 'tickets' )
assert_equal( 3182, Ticket::Article.count, 'ticket articles' )
assert_equal( 10, Ticket::State.count, 'ticket states' )
assert_equal( 24, Group.count, 'groups' )
end