Bug 13928: Clean up noisy t/Borrower.t tests
authorMark Tompsett <mtompset@hotmail.com>
Mon, 30 Mar 2015 13:04:41 +0000 (09:04 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 8 Apr 2015 15:09:01 +0000 (12:09 -0300)
commite8b8fb3519079f09870d008eb3444febb6619499
tree03d0782c3769fde355662d4c9d313fa27ac77026
parentbb63ef6a2e988208db5444bef472a3c7edcc02f4
Bug 13928: Clean up noisy t/Borrower.t tests

While testing bug 13882, noisy messages were noticed. Also,
Test::Warn was used, but no catching attempts were made. This
patch solves that problem.

TEST PLAN
---------
1) prove -v t/Borrowers.t
   -- There should be three noisy lines.
2) apply patch
3) prove -v t/Borrowers.t
   -- There will be 3 more tests and no noisy lines.
4) Run koha qa test tool
   -- There should be no issues.

NOTE: This will conflict with bug 13882 if either gets pushed
      to master, but fixing the conflict should be easy enough.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Works as expected

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/Borrower.t