Skip to content
Snippets Groups Projects
Commit f9e99d15 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

hotline #73433 : fix failures

parent f9ef7c97
Branches
Tags 5.13.1
4 merge requests!3297WIP: Master,!2919Master,!2918Hotline,!2916hotline #73433 : try to not log patron when webservice provides authentication and fail
Pipeline #5512 passed with stage
in 31 minutes and 7 seconds
......@@ -134,10 +134,13 @@ abstract class AuthWithConfiguredNanookTestCase extends ModelTestCase {
'id_bib' => 3,
'type' => Class_IntBib::COM_NANOOK];
$terra = $this->fixture('Class_IntBib',
['id' => 3,
'comm_sigb' => Class_IntBib::COM_NANOOK,
'comm_params' => $comm_params]);
$this->fixture('Class_IntBib',
['id' => 3,
'comm_sigb' => Class_IntBib::COM_NANOOK,
'comm_params' => $comm_params]);
$this->fixture('Class_Bib', ['id' => 3,
'visibilite' => Class_Bib::V_DATA]);
$this->_nanook = $this->mock()
->whenCalled('getEmprunteur')
......@@ -168,8 +171,8 @@ class AuthWithValidLocalButInvalidNanookAccountTest extends AuthWithConfiguredNa
'password' => 'nausicaa!rulez',
'idabon' => '2008349823087',
'id_sigb' => '999',
'int_bib' => $terra,
'bib' => $this->fixture('Class_Bib', ['id' => 3]),
'int_bib' => Class_IntBib::find(3),
'bib' => Class_Bib::find(3),
'role_level' => ZendAfi_Acl_AdminControllerRoles::ABONNE_SIGB]);
$auth_db = (new Mock_AuthDB())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment