Bugzilla – Attachment 144341 Details for
Bug 29274
z_reset.t is wrong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29274: Remove z_reset.t
Bug-29274-Remove-zresett.patch (text/plain), 1.89 KB, created by
Jonathan Druart
on 2022-11-30 09:52:35 UTC
(
hide
)
Description:
Bug 29274: Remove z_reset.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-11-30 09:52:35 UTC
Size:
1.89 KB
patch
obsolete
>From ab99da401f19de3830fb376a5fb27d3272fa3246 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <http://www.gnu.org/licenses>. >- >-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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29274
:
144341
|
144342