Bug 12753: Warnings in t/SIP_Sip.t could be tested
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 12 Aug 2014 22:34:34 +0000 (19:34 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 19 Aug 2014 12:24:04 +0000 (09:24 -0300)
commitfa678fa241c396eceede9bb1cf6f114d29209c9b
tree3e62167f0dbb3261494e6a7206b8d75584ce4d93
parent7706ba9df49794002392597e36f1f4edf3d9e9ab
Bug 12753: Warnings in t/SIP_Sip.t could be tested

A C4::SIP warning is expected and should be tested.

To test:
- Run
  $ prove -v t/SIP_Sip.t
=> FAIL: A warning is printed to STDOUT
- Apply the patch
- Run
  $ prove -v t/SIP_Sip.t
=> SUCCESS: No warnings on STDOUT, a new test verifying the warning is added.
- It was an easy one, smile and sign off :-D

Sponsored-by: The Will to Procrastinate
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Sponsored-by: Sunday TV is boring
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Sponsored-by: Avoiding distance study homework
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/SIP_Sip.t