Bugzilla – Attachment 39696 Details for
Bug 14111
Silence warnings t/Auth_with_shibboleth.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 14111: Silence warnings in t/Auth_with_shibboleth.t
PASSED-QA-Bug-14111-Silence-warnings-in-tAuthwiths.patch (text/plain), 1.94 KB, created by
Kyle M Hall (khall)
on 2015-05-29 15:43:52 UTC
(
hide
)
Description:
[PASSED QA] Bug 14111: Silence warnings in t/Auth_with_shibboleth.t
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-05-29 15:43:52 UTC
Size:
1.94 KB
patch
obsolete
>From e8e236eb2e8cdd9c3d34cfd66876582c28623387 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Fri, 1 May 2015 15:14:49 -0400 >Subject: [PATCH] [PASSED QA] Bug 14111: Silence warnings in t/Auth_with_shibboleth.t > >Poorly capturing warnings_exist test cases generated noise. >This patch fixes that. > >TEST PLAN >--------- >1) $ prove t/Auth_with_shibboleth.t > -- There are messages about lines 132 and 133. Noise. >2) Apply patch >3) $ prove t/Auth_with_shibboleth.t > -- No messages. YAY! >4) koha qa test tools > >Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com> > >Test remarks: Expected outcome as per test plan. No anomaly noted. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > t/Auth_with_shibboleth.t | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/t/Auth_with_shibboleth.t b/t/Auth_with_shibboleth.t >index 6b4a727..457153a 100644 >--- a/t/Auth_with_shibboleth.t >+++ b/t/Auth_with_shibboleth.t >@@ -17,6 +17,7 @@ > > use Modern::Perl; > >+$| = 1; > use Module::Load::Conditional qw/check_install/; > use Test::More; > use Test::MockModule; >@@ -216,7 +217,9 @@ subtest "checkpw_shib tests" => sub { > warnings_exist { > ( $retval, $retcard, $retuserid ) = checkpw_shib( $shib_login ); > } >- [ qr/checkpw_shib/, qr/User Shibboleth-authenticated as:/ ], >+ [ qr/checkpw_shib/, qr/koha borrower field to match: userid/, >+ qr/shibboleth attribute to match: uid/, >+ qr/User Shibboleth-authenticated as:/ ], > "good user with debug enabled"; > is( $retval, "1", "user authenticated" ); > is( $retcard, "testcardnumber", "expected cardnumber returned" ); >@@ -229,6 +232,8 @@ subtest "checkpw_shib tests" => sub { > } > [ > qr/checkpw_shib/, >+ qr/koha borrower field to match: userid/, >+ qr/shibboleth attribute to match: uid/, > qr/User Shibboleth-authenticated as:/, > qr/not a valid Koha user/ > ], >-- >1.7.2.5
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 14111
:
38752
|
38832
|
39227
|
39231
|
39232
|
39234
|
39235
| 39696 |
39697