https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17965
--- Comment #7 from Marc VĂ©ron <ve...@veron.ch> --- ...and that are the two outputs of TemplateToolkit.t: --First run --------------------------- marc@debian8vm:~/koha$ prove t/db_dependent/Letters/TemplateToolkit.t t/db_dependent/Letters/TemplateToolkit.t .. 1/16 DBD::mysql::st execute failed: Duplicate entry '37' for key 'PRIMARY' [for Statement "INSERT INTO old_issues SELECT * FROM issues WHERE borrowernumber = ? AND itemnumber = ?" with ParamValues: 0='654336', 1='25'] at /home/marc/koha/C4/Circulation.pm line 2172. DBD::mysql::st execute failed: Duplicate entry '37' for key 'PRIMARY' [for Statement "INSERT INTO old_issues SELECT * FROM issues WHERE borrowernumber = ? AND itemnumber = ?" with ParamValues: 0='654336', 1='25'] at /home/marc/koha/C4/Circulation.pm line 2172. at t/db_dependent/Letters/TemplateToolkit.t line 463. # Failed test at t/db_dependent/Letters/TemplateToolkit.t line 470. # got: ' # The following items have been checked out: # Test Biblio 1 # Test Biblio 2 # Thank you for visiting YCIAZz. # ' # expected: ' # The following items have been checkin out: # Test Biblio 1 was due on 01.03.2017 # Thank you for visiting YCIAZz. # ' # Failed test at t/db_dependent/Letters/TemplateToolkit.t line 471. # got: ' # The following items have been checkin out: # Test Biblio 2 was due on 01.03.2017 # Thank you for visiting YCIAZz. # ' # expected: ' # The following items have been checkin out: # Test Biblio 1 was due on 01.03.2017 # Test Biblio 2 was due on 01.03.2017 # Thank you for visiting YCIAZz. # ' # Looks like you failed 2 tests of 4. # Failed test 'CHECKOUT+CHECKIN' # at t/db_dependent/Letters/TemplateToolkit.t line 473. # Looks like you failed 1 test of 4. t/db_dependent/Letters/TemplateToolkit.t .. 16/16 # Failed test 'regression tests' # at t/db_dependent/Letters/TemplateToolkit.t line 503. # Looks like you failed 1 test of 16. t/db_dependent/Letters/TemplateToolkit.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/16 subtests Test Summary Report ------------------- t/db_dependent/Letters/TemplateToolkit.t (Wstat: 256 Tests: 16 Failed: 1) Failed test: 16 Non-zero exit status: 1 Files=1, Tests=16, 3 wallclock secs ( 0.02 usr 0.02 sys + 2.28 cusr 0.36 csys = 2.68 CPU) Result: FAIL -Second run, immediately after first run----------------- marc@debian8vm:~/koha$ prove t/db_dependent/Letters/TemplateToolkit.t t/db_dependent/Letters/TemplateToolkit.t .. ok All tests successful. Files=1, Tests=16, 2 wallclock secs ( 0.03 usr 0.00 sys + 1.63 cusr 0.87 csys = 2.53 CPU) Result: PASS -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/