Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.3.1

Bug #16005 Unit test failures
Submitted: 2009-03-10 09:40 UTC
From: doconnor Assigned: doconnor
Status: Assigned Package: Payment_Process2 (version 0.1.0)
PHP Version: 5.2.9 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 36 - 26 = ?

 
 [2009-03-10 09:40 UTC] doconnor (Daniel O'Connor)
Description: ------------ Tests: 99, Assertions: 80, Failures: 10, Incomplete: 10. Test script: --------------- phpunit tests\ Expected result: ---------------- Tests pass Actual result: -------------- C:\work\pear\pear\Payment_Process2>phpunit tests PHPUnit 3.3.9 by Sebastian Bergmann. ....I.....F..F..F.II....F....I...F..F..F.....F...IFI........ 60 / 99 ...FIIII............................... Time: 0 seconds There were 10 failures: 1) testShouldFailGracefullyOnFailedTransaction(Payment_Process2_AuthorizeNetTest) Failed asserting that <boolean:false> is true. C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_AuthorizeNetTest.php:101 2) testShouldFailGracefullyOnFailedTransaction(Payment_Process2_BibitTest) Failed asserting that <boolean:false> is true. C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_BibitTest.php:105 3) testShouldValidatePaymentsWhenSetting(Payment_Process2_CommonTest) Expected an exception before this point C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_CommonTest.php:92 4) testShouldValidateAllFields2(Payment_Process2_CommonTest) Expected an exception before this point C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_CommonTest.php:171 5) testShouldFailGracefullyOnFailedTransaction(Payment_Process2_DummyTest) Failed asserting that <boolean:false> is true. C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_DummyTest.php:98 6) testShouldFailGracefullyOnFailedTransaction(Payment_Process2_LinkPointTest) Failed asserting that <boolean:false> is true. C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_LinkPointTest.php:102 7) testShouldFailGracefullyOnFailedTransaction(Payment_Process2_PaypalTest) Failed asserting that <boolean:false> is true. C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_PaypalTest.php:98 8) testShouldRespectInternalSettingsWhenReadingMessages2(Payment_Process2_ResultTest) expected string <No message reported> difference < xxxxxxxx????> got string <No message from gateway> C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_ResultTest.php:90 9) testShouldValidateCorrectlyWithCcvCheck1(Payment_Process2_ResultTest) Expected an exception C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_ResultTest.php:158 10) testShouldFailGracefullyOnFailedTransaction(Payment_Process2_TransfirstTest) Failed asserting that <boolean:false> is true. C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_TransfirstTest.php:102 FAILURES! Tests: 99, Assertions: 80, Failures: 10, Incomplete: 10. C:\work\pear\pear\Payment_Process2>

Comments

 [2009-03-16 06:01 UTC] doconnor (Daniel O'Connor)
validate() is now successfully called in all of the right places. Tests: 100, Assertions: 80, Failures: 8, Incomplete: 10.
 [2009-03-16 06:53 UTC] doconnor (Daniel O'Connor)
Down to 5 failures - driver test coverage related
 [2009-03-23 21:09 UTC] doconnor (Daniel O'Connor)
-Assigned To: +Assigned To: doconnor