Bugzilla – Attachment 57451 Details for
Bug 17572
Remove issue.t warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17572: [QA Follow-up] Cosmetic changes
Bug-17572-QA-Follow-up-Cosmetic-changes.patch (text/plain), 1.26 KB, created by
Marcel de Rooy
on 2016-11-11 08:29:27 UTC
(
hide
)
Description:
Bug 17572: [QA Follow-up] Cosmetic changes
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-11-11 08:29:27 UTC
Size:
1.26 KB
patch
obsolete
>From 5023c59e6b239e945ef88c2b996a30c78722f47f Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 11 Nov 2016 09:27:12 +0100 >Subject: [PATCH] Bug 17572: [QA Follow-up] Cosmetic changes >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Circulation/issue.t | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-) > >diff --git a/t/db_dependent/Circulation/issue.t b/t/db_dependent/Circulation/issue.t >index cca050b..c3d4d8d 100644 >--- a/t/db_dependent/Circulation/issue.t >+++ b/t/db_dependent/Circulation/issue.t >@@ -18,6 +18,7 @@ > use Modern::Perl; > > use Test::More tests => 32; >+use DateTime::Duration; > > use t::lib::Mocks; > use t::lib::TestBuilder; >@@ -32,12 +33,10 @@ use Koha::Database; > use Koha::DateUtils; > use Koha::Library; > >-use DateTime::Duration; >- >- > BEGIN { >- use_ok('C4::Circulation'); >+ require_ok('C4::Circulation'); > } >+ > can_ok( > 'C4::Circulation', > qw(AddIssue >@@ -55,10 +54,10 @@ can_ok( > ) > ); > >-my $dbh = C4::Context->dbh; >-my $schema = Koha::Database->schema; > #Start transaction >+my $schema = Koha::Database->schema; > $schema->storage->txn_begin; >+my $dbh = C4::Context->dbh; > > my $builder = t::lib::TestBuilder->new(); > >-- >2.1.4
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 17572
:
57272
|
57273
|
57275
|
57276
|
57449
|
57450
| 57451