Removed count check in favour of regular array diff.
This commit is contained in:
parent
b797fd6d30
commit
4e81bcd90e
1 changed files with 0 additions and 2 deletions
|
@ -35,8 +35,6 @@ class OtrsImportTest < ActiveSupport::TestCase
|
||||||
test 'check dynamic fields' do
|
test 'check dynamic fields' do
|
||||||
local_objects = ObjectManager::Attribute.list_full
|
local_objects = ObjectManager::Attribute.list_full
|
||||||
|
|
||||||
assert_equal(75, local_objects.size, 'dynamic field count')
|
|
||||||
|
|
||||||
object_attribute_names = local_objects.reject { |local_object|
|
object_attribute_names = local_objects.reject { |local_object|
|
||||||
local_object[:object] != 'Ticket'
|
local_object[:object] != 'Ticket'
|
||||||
}.collect { |local_object|
|
}.collect { |local_object|
|
||||||
|
|
Loading…
Reference in a new issue