ZF-5783: Undefined offset in Zend_Gdata_GdataOnlineTest::testFeedImplementation
When running Zend_Gdata_GdataOnlineTest, the following unit test failure occurs:
testFeedImplementation(Zend_Gdata_GdataOnlineTest) Undefined offset: 3 .../library/Zend/Gdata/App/Feed.php:153 .../library/Zend/Gdata/App/Feed.php:153
This is caused because testFeedImplementation() isn't calling rewind() before calling current(), and the changes made for protocol v2 support added a foreach() statement (which calls rewind() at the start of execution, not after).
The fix is to call rewind() inside of testFeedImplementation().