Fixed test.
This commit is contained in:
parent
4baa1c9410
commit
d3c86e9109
1 changed files with 4 additions and 4 deletions
|
@ -104,7 +104,7 @@ class HistoryTest < ActiveSupport::TestCase
|
||||||
owner_id: current_user.id,
|
owner_id: current_user.id,
|
||||||
},
|
},
|
||||||
article: {
|
article: {
|
||||||
from: 'Unit 2 Test 2 <unittest@example.com>',
|
body: 'Unit Test 123 - 2',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
history_check: [
|
history_check: [
|
||||||
|
@ -140,9 +140,9 @@ class HistoryTest < ActiveSupport::TestCase
|
||||||
result: true,
|
result: true,
|
||||||
history_object: 'Ticket::Article',
|
history_object: 'Ticket::Article',
|
||||||
history_type: 'updated',
|
history_type: 'updated',
|
||||||
history_attribute: 'from',
|
history_attribute: 'body',
|
||||||
value_from: 'Unit Test <unittest@example.com>',
|
value_from: 'Unit Test 123',
|
||||||
value_to: 'Unit 2 Test 2 <unittest@example.com>',
|
value_to: 'Unit Test 123 - 2',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue