Bugzilla – Attachment 38053 Details for
Bug 7380
Can't filter patron search on detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Revert "Bug 13189: (QA Followup) Unit Tests"
Revert-Bug-13189-QA-Followup-Unit-Tests.patch (text/plain), 1.88 KB, created by
Nicole C. Engard
on 2015-04-17 13:14:53 UTC
(
hide
)
Description:
Revert "Bug 13189: (QA Followup) Unit Tests"
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2015-04-17 13:14:53 UTC
Size:
1.88 KB
patch
obsolete
>From 257ce00cd29ab3993a38bdf4ad937a45ee405fa6 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Thu, 16 Apr 2015 15:28:14 -0300 >Subject: [PATCH] Revert "Bug 13189: (QA Followup) Unit Tests" > >This reverts commit a7822b0a32faa5ffe6e5a3b43c1cd2c58a8a802a. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> > >http://bugs.koha-community.org/show_bug.cgi?id=7380 >--- > t/db_dependent/Members.t | 14 +------------- > 1 file changed, 1 insertion(+), 13 deletions(-) > >diff --git a/t/db_dependent/Members.t b/t/db_dependent/Members.t >index dc2b0a3..cf19819 100755 >--- a/t/db_dependent/Members.t >+++ b/t/db_dependent/Members.t >@@ -17,12 +17,10 @@ > > use Modern::Perl; > >-use Test::More tests => 74; >+use Test::More tests => 72; > use Test::MockModule; > use Data::Dumper; > use C4::Context; >-use C4::Members::Attributes qw( SetBorrowerAttributes ); >-use C4::Members::AttributeTypes; > > BEGIN { > use_ok('C4::Members'); >@@ -185,16 +183,6 @@ $results = Search(\@searchstring); > ok (_find_member($results), "Search (arrayref) for independent branches, same branch") > or diag("Card $CARDNUMBER not found in the resultset for independent branches: ".Dumper(C4::Context->preference($INDEPENDENT_BRANCHES_PREF), $results)); > >-C4::Context->set_preference('ExtendedPatronAttributes', 1); >-my $attr_type = C4::Members::AttributeTypes->new("TEST", "Test Description"); >-$attr_type->staff_searchable(1); >-$attr_type->store(); >-SetBorrowerAttributes($addmem, [ { code => 'TEST', value => 'XYZZYX' } ] ); >-$results = Search( "XYZZYX", undef, undef, undef, undef, undef, 1 ); >-is( @$results, 0, "Search without extended attributes returns no results" ); >-$results = Search( "XYZZYX", undef, undef, undef, undef, undef, 0 ); >-is( @$results, 1, "Search with extended attributes returns results" ); >- > C4::Context->set_preference( 'CardnumberLength', '' ); > C4::Context->clear_syspref_cache(); > >-- >1.7.10.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 7380
:
29697
|
33157
|
35222
|
35259
|
35342
|
37805
|
37806
|
38053
|
38055
|
38056
|
38067
|
38068
|
38090
|
38107
|
38108