Bugzilla – Attachment 33408 Details for
Bug 12264
Tiny typo in t/db_dependent/Items.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12264: Correct tiny typo in t/db_dependent/Items.t
Bug-12264-Correct-tiny-typo-in-tdbdependentItemst.patch (text/plain), 1.45 KB, created by
Marcel de Rooy
on 2014-11-10 08:33:01 UTC
(
hide
)
Description:
Bug 12264: Correct tiny typo in t/db_dependent/Items.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-11-10 08:33:01 UTC
Size:
1.45 KB
patch
obsolete
>From 290ff3ae4fba608fb069ad2c1d192fab8e9ab7c5 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sun, 9 Nov 2014 22:54:28 +0100 >Subject: [PATCH] Bug 12264: Correct tiny typo in t/db_dependent/Items.t >Content-Type: text/plain; charset=utf-8 > >One of the tests claims 'item-level_itypes is disabled' >when it should be 'item-level_itypes is enabled'. > >Patch fixes this. > >To test: >- run t/db_dependent/Items.t >- tests should all pass >- verify the last test reads 'enabled' >- look at the code and see it's true > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Items.t | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/t/db_dependent/Items.t b/t/db_dependent/Items.t >index 4bed48b..6d8b47f 100755 >--- a/t/db_dependent/Items.t >+++ b/t/db_dependent/Items.t >@@ -221,7 +221,7 @@ subtest q{Test Koha::Database->schema()->resultset('Item')->itemtype()} => sub { > ok( $item->effective_itemtype() eq 'BIB_LEVEL', '$item->itemtype() returns biblioitem.itemtype when item-level_itypes is disabled' ); > > C4::Context->set_preference( 'item-level_itypes', 1 ); >- ok( $item->effective_itemtype() eq 'ITEM_LEVEL', '$item->itemtype() returns items.itype when item-level_itypes is disabled' ); >+ ok( $item->effective_itemtype() eq 'ITEM_LEVEL', '$item->itemtype() returns items.itype when item-level_itypes is enabled' ); > > $dbh->rollback; > }; >-- >1.7.7.6
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 12264
:
33397
|
33405
| 33408 |
33409