Improved setup.

This commit is contained in:
Martin Edenhofer 2016-04-26 11:48:59 +02:00
parent ee4b12f48a
commit fe68d9d988

View file

@ -22,6 +22,12 @@ class ReportTest < ActiveSupport::TestCase
# Setting.set('es_password', 'zammad') # Setting.set('es_password', 'zammad')
# Setting.set('es_attachment_max_size_in_mb', 1 ) # Setting.set('es_attachment_max_size_in_mb', 1 )
# clear cache
Cache.clear
# remove background jobs
Delayed::Job.destroy_all
Ticket.destroy_all Ticket.destroy_all
# drop/create indexes # drop/create indexes