From fe68d9d988e2613a73208ab1a2bee9e80fa1bc4d Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 26 Apr 2016 11:48:59 +0200 Subject: [PATCH] Improved setup. --- test/integration/report_test.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/integration/report_test.rb b/test/integration/report_test.rb index 813bfd266..0133879b2 100644 --- a/test/integration/report_test.rb +++ b/test/integration/report_test.rb @@ -22,6 +22,12 @@ class ReportTest < ActiveSupport::TestCase # Setting.set('es_password', 'zammad') # Setting.set('es_attachment_max_size_in_mb', 1 ) + # clear cache + Cache.clear + + # remove background jobs + Delayed::Job.destroy_all + Ticket.destroy_all # drop/create indexes