From ea30b6a9eba0741c16f5fa434925011f8a7a237f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 8 Nov 2015 20:15:25 -0500 Subject: [PATCH] Fix warnings with newer minitest versions. --- test/mailshears_test.rb | 4 ++-- test/test_mv.rb | 1 - test/test_prune.rb | 1 - test/test_rm.rb | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/test/mailshears_test.rb b/test/mailshears_test.rb index e46ca11..865bd4a 100644 --- a/test/mailshears_test.rb +++ b/test/mailshears_test.rb @@ -1,9 +1,9 @@ require 'common/configuration' require 'fileutils' -require 'minitest/unit' +require 'minitest/autorun' require 'pg' -class MailshearsTest < MiniTest::Unit::TestCase +class MailshearsTest < MiniTest::Test # This is that class that most (if not all) of our test cases will # inherit. It provides the automatic setup and teardown of the # filesystem and database that the test cases will exercise. diff --git a/test/test_mv.rb b/test/test_mv.rb index 7ded820..968782b 100644 --- a/test/test_mv.rb +++ b/test/test_mv.rb @@ -3,7 +3,6 @@ require 'common/domain' require 'common/user' require 'mailshears_test' -require 'minitest/autorun' require 'mv/plugins/agendav' require 'mv/plugins/davical' require 'mv/plugins/dovecot' diff --git a/test/test_prune.rb b/test/test_prune.rb index 35c1a5c..059de52 100644 --- a/test/test_prune.rb +++ b/test/test_prune.rb @@ -3,7 +3,6 @@ require 'common/domain' require 'common/user' require 'mailshears_test' -require 'minitest/autorun' require 'prune/plugins/agendav' require 'prune/plugins/davical' require 'prune/plugins/dovecot' diff --git a/test/test_rm.rb b/test/test_rm.rb index 210ca5d..24dacc3 100644 --- a/test/test_rm.rb +++ b/test/test_rm.rb @@ -3,7 +3,6 @@ require 'common/domain' require 'common/user' require 'mailshears_test' -require 'minitest/autorun' require 'rm/plugins/agendav' require 'rm/plugins/davical' require 'rm/plugins/dovecot' -- 2.44.2