Bugzilla – Attachment 64115 Details for
Bug 18762
Some tests are noisy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18762: Remove a warning from History.t
Bug-18762-Remove-a-warning-from-Historyt.patch (text/plain), 1.08 KB, created by
Jonathan Druart
on 2017-06-08 19:19:25 UTC
(
hide
)
Description:
Bug 18762: Remove a warning from History.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-08 19:19:25 UTC
Size:
1.08 KB
patch
obsolete
>From 2709fda094ee56f9facfd76058492caff3c20f7f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jun 2017 15:36:40 -0300 >Subject: [PATCH] Bug 18762: Remove a warning from History.t > >Test plan: > prove t/db_dependent/Search/History.t >should not display any warnings >--- > t/db_dependent/Search/History.t | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > >diff --git a/t/db_dependent/Search/History.t b/t/db_dependent/Search/History.t >index 7044921a48..a10b5f8f9f 100644 >--- a/t/db_dependent/Search/History.t >+++ b/t/db_dependent/Search/History.t >@@ -19,9 +19,10 @@ use List::Util qw( shuffle ); > > use C4::Context; > use Koha::DateUtils; >+ >+my $schema = Koha::Database->new->schema; >+$schema->storage->txn_begin; > my $dbh = C4::Context->dbh; >-$dbh->{AutoCommit} = 0; >-$dbh->{RaiseError} = 1; > > use_ok('Koha::DateUtils'); > use_ok('C4::Search::History'); >@@ -472,6 +473,4 @@ $result2 = $schema->resultset('SearchHistory')->search()->count; > is($result2, $result+1, 'new search added to borrower'); > }; > >-$dbh->rollback; >- > done_testing; >-- >2.11.0
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 18762
:
64114
|
64115
|
64116
|
64117
|
64170
|
64175
|
64232
|
64234
|
64294
|
64295
|
64296