Improved visualisation of delivery failed message.
This commit is contained in:
parent
24eae3104e
commit
b5a00eca14
1 changed files with 3 additions and 3 deletions
|
@ -246,7 +246,6 @@ class EmailDeliverTest < ActiveSupport::TestCase
|
||||||
assert_raises(RuntimeError) {
|
assert_raises(RuntimeError) {
|
||||||
Scheduler.worker(true)
|
Scheduler.worker(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
article2_lookup = Ticket::Article.find(article2.id)
|
article2_lookup = Ticket::Article.find(article2.id)
|
||||||
assert_equal(2, ticket1.articles.count)
|
assert_equal(2, ticket1.articles.count)
|
||||||
assert_equal(3, article2_lookup.preferences['delivery_retry'])
|
assert_equal(3, article2_lookup.preferences['delivery_retry'])
|
||||||
|
@ -255,8 +254,9 @@ class EmailDeliverTest < ActiveSupport::TestCase
|
||||||
assert(article2_lookup.preferences['delivery_status_message'])
|
assert(article2_lookup.preferences['delivery_status_message'])
|
||||||
|
|
||||||
sleep 16
|
sleep 16
|
||||||
|
assert_raises(RuntimeError) {
|
||||||
Scheduler.worker(true)
|
Scheduler.worker(true)
|
||||||
|
}
|
||||||
article2_lookup = Ticket::Article.find(article2.id)
|
article2_lookup = Ticket::Article.find(article2.id)
|
||||||
article_delivery_system = ticket1.articles.last
|
article_delivery_system = ticket1.articles.last
|
||||||
assert_equal(3, ticket1.articles.count)
|
assert_equal(3, ticket1.articles.count)
|
||||||
|
|
Loading…
Reference in a new issue