[Koha-bugs] [Bug 22741] Koha/Patrons.t is failing randomly on test BorrowerLogs and TrackLastPatronActivity

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 20 16:23:41 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22741

--- Comment #18 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
OK.. so I threw in some debugging and it looks like it's the updated_on field
that's throwing us.

    ok 3 - With BorrowerLogs, one detailed MODIFY action should be logged for
the modification.             

Log 1                                                                           
{                                                                               
   "cardnumber" : {                                   
      "after" : "TESTCARDNUMBER",                               
      "before" : "FAS0pUt3wnZaFD_aJOR"          
   }                                                        
}                                           

Log 2                                                                 
{                                                   
   "updated_on" : {                               
      "after" : "2019-06-20 14:20:18",                          
      "before" : "2019-06-20 14:20:19"                                          
   }                                          
}                                               

    not ok 4 - With BorrowerLogs and TrackLastPatronActivity we should not spam
the logs 

    #   Failed test 'With BorrowerLogs and TrackLastPatronActivity we should
not spam the logs'
    #   at t/db_dependent/Koha/Patrons.t line 1480.
    #          got: '2'                           
    #     expected: '1'                            
    # Looks like you failed 1 test of 4.           
not ok 31 - BorrowersLog tests

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list