Bugzilla – Attachment 46424 Details for
Bug 15446
Koha::Object[s]->type should be renamed to _type to avoid conflict with column name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15446: Add tests
Bug-15446-Add-tests.patch (text/plain), 1.07 KB, created by
Kyle M Hall (khall)
on 2016-01-08 12:51:44 UTC
(
hide
)
Description:
Bug 15446: Add tests
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-01-08 12:51:44 UTC
Size:
1.07 KB
patch
obsolete
>From 191abc2a5153fc58e07dccd7bf33fac6444e970d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 30 Dec 2015 17:11:45 +0000 >Subject: [PATCH] Bug 15446: Add tests >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > t/db_dependent/Context.t | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/t/db_dependent/Context.t b/t/db_dependent/Context.t >index 8c0abfd..319a299 100755 >--- a/t/db_dependent/Context.t >+++ b/t/db_dependent/Context.t >@@ -119,6 +119,11 @@ is($oConnection->option('async'), 1, "ZOOM connection is asynchronous"); > > $silly_preference->delete(); > >+# AutoEmailOpacUser should be a YesNo pref >+C4::Context->set_preference('AutoEmailOpacUser', ''); >+my $yesno_pref = Koha::Config::SysPrefs->find('AutoEmailOpacUser'); >+is( $yesno_pref->value(), 0, 'set_preference should have set the value to 0, instead of an empty string' ); >+ > done_testing(); > > sub TransformVersionToNum { >-- >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 15446
:
46095
|
46096
|
46097
|
46104
|
46105
|
46106
|
46107
|
46268
|
46424
|
46425
|
46426
|
46427
|
48005
|
48006
|
48007
|
48008
|
48019