Issues

ZF-2146: Test AuthSub class using mock Zend_Http_Client objects

Issue Type: Unit Tests: Improvement Created: 2007-11-04T21:08:51.000+0000 Last Updated: 2011-05-28T18:26:07.000+0000 Status: Resolved Fix version(s): - 1.11.7 (02/Jun/11)

Reporter: Ryan Boyd (rboyd) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Gdata

Related issues: - ZF-2141

Attachments:

Description

Some of the AuthSub methods are untested due to the lack of ability to do web browser interactions. They can be tested using mock Zend_Http_Client objects.

Comments

Posted by Adam Lundrigan (adamlundrigan) on 2011-05-08T03:33:37.000+0000

Improved test suite added to trunk r24028

Posted by Adam Lundrigan (adamlundrigan) on 2011-05-08T03:36:18.000+0000

Test suite now covers all of Zend_Gdata_AuthSub (Lines: 76 / 79 (96.20%))

<pre class="highlight">
++ phpunit --verbose --group Zend_Gdata_AuthSub AllTests
PHPUnit 3.5.13 by Sebastian Bergmann.

.............

Time: 7 seconds, Memory: 413.75Mb

OK (13 tests, 17 assertions)

Posted by Adam Lundrigan (adamlundrigan) on 2011-05-28T18:25:51.000+0000

Merged to release-1.11 as r24063

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts