2009/5/30 Jon Lebensold <j...@lebensold.ca> > > I'm trying to get my feet wet with Zend_Test_PHPUnit_ControllerTestCase and > I think I might have found a bug... or maybe I'm not doing this properly. > > > Fatal error: Zend_View_Exception: Encountered an invalid URL for Sitemap > XML: "http:///" in > /Users/jon/Sites/intuit/site/quickbase/library/Zend/View/Helper/Navigation/HelperAbstract.php > on line 488
What you're doing looks fine. The error is coming from the sitemap action itself. Assuming the sitemap works normally (when viewed in a browser), see if there's any difference in the way the Zend_Navigation data is being created when run in test mode. Also make sure you have error_reporting right up in test mode, as this might help identify the problem. -- Tim Fountain http://tfountain.co.uk/