blob: 9c6e3a1c0ceb68c7ef1627d5b51511e120db8b36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
use strict;
use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 1 + 1; # plus one for warnings check
use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
require $shredder_utils;
}
init_db();
create_savepoint('clean'); # backup of the clean RT DB
my $shredder = shredder_new(); # new shredder object
# ....
# create and wipe RT objects
#
cmp_deeply( dump_current_and_savepoint('clean'), "current DB equal to savepoint");
|