Skip to content

Commit

Permalink
Issue #444: restore the database after the test
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Oct 2, 2020
1 parent d0617f9 commit cdb7ebb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/test/PSGI/DbViewer.t
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use v5.24.0;
use utf8;

# core modules
use LWP::UserAgent;

# CPAN modules
use Test2::V0;
Expand All @@ -49,6 +48,7 @@ my $ConfigObject = $Kernel::OM->Get('Kernel::Config');

$Kernel::OM->ObjectParamAdd(
'Kernel::System::UnitTest::Helper' => {
RestoreDatabase => 1,
SkipSSLVerify => 1,
DisableAsyncCalls => 1,
},
Expand Down Expand Up @@ -121,6 +121,4 @@ my $DbViewerURL = $BaseURL . 'dbviewer';
# cleanup cache
$Kernel::OM->Get('Kernel::System::Cache')->CleanUp();

# TODO: clean up the database, that is the test user

done_testing();

0 comments on commit cdb7ebb

Please sign in to comment.