Bugzilla – Attachment 59265 Details for
Bug 17615
LDAP Auth: regression causes attribute updates to silently fail and corrupt existing data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17615 - Fix unit tests
Bug-17615---Fix-unit-tests.patch (text/plain), 972 bytes, created by
Alex Arnaud
on 2017-01-19 15:22:49 UTC
(
hide
)
Description:
Bug 17615 - Fix unit tests
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2017-01-19 15:22:49 UTC
Size:
972 bytes
patch
obsolete
>From c78f4e7d0e87d71c6ab923a8296f0b0c727f9e9d Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Thu, 19 Jan 2017 15:22:05 +0000 >Subject: [PATCH] Bug 17615 - Fix unit tests > >--- > t/db_dependent/Auth_with_ldap.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Auth_with_ldap.t b/t/db_dependent/Auth_with_ldap.t >index aa80901..8c4b9ba 100755 >--- a/t/db_dependent/Auth_with_ldap.t >+++ b/t/db_dependent/Auth_with_ldap.t >@@ -20,6 +20,7 @@ use Modern::Perl; > use Test::More tests => 4; > use Test::MockModule; > use Test::MockObject; >+use t::lib::Mocks; > use t::lib::TestBuilder; > use Test::Warn; > >@@ -170,6 +171,7 @@ subtest 'checkpw_ldap tests' => sub { > $update = 1; > reload_ldap_module(); > >+ t::lib::Mocks::mock_preference( 'ExtendedPatronAttributes', 1 ); > my $auth = Test::MockModule->new('C4::Auth_with_ldap'); > $auth->mock( > 'update_local', >-- >2.7.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 17615
:
57532
|
57587
|
57593
|
57619
|
59220
|
59263
|
59264
|
59265
|
59266