[Koha-bugs] [Bug 12532] Redirect guarantee email to guarantor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 25 07:20:39 CEST 2016


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #31 from Marc Véron <veron at veron.ch> ---
Testing:
- EnableRedirectGuaranteeEmail on
- Both guarantor and guarantee have valid email address

Messaging preferences:
- Guarantee: all on
- Guarantor: all on
-Trigger mail (e.g. Checkout), run process_message_queue.pl
Result: Mail goes to both (as expected)

Messaging preferences:
- Guarantee: all on
- Guarantor: all off
- Trigger mail (e.g. Checkout), run process_message_queue.pl
Result: Mail goes to both (as expected)

Messaging preferences:
- Guarantee: all off
- Guarantor: all on
- Trigger mail (e.g. Checkout), run process_message_queue.pl
Result: No mail (as expected)

Messaging preferences:
- Guarantee: all off
- Guarantor: all off
- Trigger mail (e.g. Checkout), run process_message_queue.pl
Result: No mail (as expected)

Running tests:

t/db_dependent/Letters.t
------------------------
#   Failed test 'With EnableRedirectGuaranteeEmail on, Message is sent to the
guarantor's email address.'
#   at t/db_dependent/Letters.t line 193.
#          got: 'toto at exemple.com'
#     expected: 'guarantor at example.com'
Fake sendmail at t/db_dependent/Letters.t line 32.

#   Failed test 'With EnableRedirectGuaranteeEmail on, message fails if
guarantor has no address.'
#   at t/db_dependent/Letters.t line 198.
#          got: 'sent'
#     expected: 'failed'
Fake sendmail at t/db_dependent/Letters.t line 32.
# Looks like you planned 74 tests but ran 80.
# Looks like you failed 2 tests of 80 run.
t/db_dependent/Letters.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/74 subtests 

Test Summary Report
-------------------
t/db_dependent/Letters.t (Wstat: 512 Tests: 80 Failed: 8)
  Failed tests:  30-31, 75-80
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 74 tests but ran 80.


t/db_dependent/Members.t
------------------------
t/db_dependent/Members.t .. 1/79 "my" variable $guarantee masks earlier
declaration in same scope at t/db_dependent/Members.t line 331.
t/db_dependent/Members.t .. 2/79 
#   Failed test 'GetNoticeEmailAddress returns correct value when
EnableRedirectGuaranteeEmail is activated'
#   at t/db_dependent/Members.t line 187.
#          got: 'guanrantee at email.test,Marie at work.com'
#     expected: 'Marie at work.com'
t/db_dependent/Members.t .. 79/79 # Looks like you planned 79 tests but ran 81.
# Looks like you failed 1 test of 81 run.
t/db_dependent/Members.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/79 subtests 

Test Summary Report
-------------------
t/db_dependent/Members.t (Wstat: 256 Tests: 81 Failed: 3)
  Failed tests:  27, 80-81
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 79 tests but ran 81.
Files=1, Tests=81,  3 wallclock secs ( 0.04 usr  0.00 sys +  1.96 cusr  0.13
csys =  2.13 CPU)
Result: FAIL

Setting to FQA because of the tests

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


More information about the Koha-bugs mailing list