Hey there,
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.
here's my test:
public function testCanAccessSitemapxmlPage()
{
$this->dispatch('/sitemap.xml');
$this->assertAction("sitemapxml");
$this->assertController("supplemental-pages");
}
and here's my route:
$router->addRoute(
'sitemapxml',
new Zend_Controller_Router_Route('/sitemap.xml',
array('controller' => 'supplemental-pages', 'action' => 'sitemapxml'))
);
and lastly the exception:
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
Any thoughts?