Merge branch 'develop' of github.com:martini/zammad into develop
This commit is contained in:
commit
aab6a5439e
1 changed files with 12 additions and 2 deletions
|
@ -147,8 +147,18 @@ class TwitterTest < ActiveSupport::TestCase
|
|||
# fetch check system account
|
||||
Channel.fetch
|
||||
|
||||
# check if follow up article has been created
|
||||
article = Ticket::Article.find_by( message_id: tweet.id )
|
||||
# fetch check system account
|
||||
article = nil
|
||||
(1..4).each {
|
||||
Channel.fetch
|
||||
|
||||
# check if ticket and article has been created
|
||||
article = Ticket::Article.find_by( message_id: tweet.id )
|
||||
|
||||
break if article
|
||||
|
||||
sleep 5
|
||||
}
|
||||
assert(article)
|
||||
ticket = article.ticket
|
||||
|
||||
|
|
Loading…
Reference in a new issue