[Koha-bugs] [Bug 9845] SIP tests : fix in 08checkin.t ("alert" field)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 20 14:54:52 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9845

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |kyle at bywatersolutions.com

--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
I'm getting the same results pre and post patch.

$ perl -I.. 08checkin.t 
1..5
ok 1 - login
ok 2 - SC status
not ok 3 - match leader Checkin: prep: check out item (502326000005)
#   Failed test 'match leader Checkin: prep: check out item (502326000005)'
#   at SIPtest.pm line 204.
# Response '120NUN20130320   
065359AOCPL|AA23529001000463|AB502326000005|AJ|AH|AFInvalid Item|BLY|AY3AZE7E3'
doesn't match pattern '(?-xism:^121NNY\d{8} {4}\d{6})'
not ok 4 - match leader Checkin: Item (502326000005) is checked out
#   Failed test 'match leader Checkin: Item (502326000005) is checked out'
#   at SIPtest.pm line 204.
# Response '100NUY20130320    065359AOCPL|AB502326000005|CV99|AFItem not
checked out|AY4AZEA99' doesn't match pattern '(?-xism:^101YNN\d{8} {4}\d{6})'
not ok 5 - match leader Checkin: Item not checked out
#   Failed test 'match leader Checkin: Item not checked out'
#   at SIPtest.pm line 204.
# Response '100NUY20130320    065359AOCPL|AB502326000005|CV99|AFItem not
checked out|AY5AZEA98' doesn't match pattern '(?-xism:^100YN[NY]\d{8}
{4}\d{6})'
# Looks like you failed 3 tests of 5.

Any idea as to what I'm doing wrong?

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


More information about the Koha-bugs mailing list