Bugzilla – Attachment 46095 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), 907 bytes, created by
Jonathan Druart
on 2015-12-30 17:22:54 UTC
(
hide
)
Description:
Bug 15446: Add tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-12-30 17:22:54 UTC
Size:
907 bytes
patch
obsolete
>From a37d72bec40f2465e441d810376b4f9d3c871eba 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 > >--- > 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.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 15446
:
46095
|
46096
|
46097
|
46104
|
46105
|
46106
|
46107
|
46268
|
46424
|
46425
|
46426
|
46427
|
48005
|
48006
|
48007
|
48008
|
48019