From ab99da401f19de3830fb376a5fb27d3272fa3246 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 30 Nov 2022 10:51:44 +0100 Subject: [PATCH] Bug 29274: Remove z_reset.t From the description of commit d25f3e84374ec8d7c85f8ed805102f67c0a73d77 """ Bug 22709: (RM follow-up) Clean up plugin tests The plugin tests were failing due to failed rollbacks and run order. This patch moves them into their own directory and adds a reset test to restore the original state of the plugin system after the tests have run. """ This is wrong, the tests are run in a random order. We don't need this file. --- t/db_dependent/Koha/Plugins/z_reset.t | 28 --------------------------- 1 file changed, 28 deletions(-) delete mode 100755 t/db_dependent/Koha/Plugins/z_reset.t diff --git a/t/db_dependent/Koha/Plugins/z_reset.t b/t/db_dependent/Koha/Plugins/z_reset.t deleted file mode 100755 index 302873a3179..00000000000 --- a/t/db_dependent/Koha/Plugins/z_reset.t +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/perl - -# This file is part of Koha. -# -# Koha is free software; you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the Free Software -# Foundation; either version 3 of the License, or (at your option) any later -# version. -# -# Koha is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with Koha; if not, see . - -use Modern::Perl; -use C4::Context; -use Koha::Plugins; -use Koha::Plugins::Methods; - -use Test::More tests => 1; - -my $plugins = Koha::Plugins->new()->InstallPlugins; - -ok( 1, 'Plugins reset' ); - -1; -- 2.25.1