/** * Tests the JApplicationAdministrator::getTemplate method. * * @return void * * @since 3.2 */ public function testGetTemplate() { $this->markTestSkipped('Test fails due to JPATH_THEMES being defined for site.'); $template = $this->class->getTemplate(true); $this->assertInstanceOf('\\Joomla\\Registry\\Registry', $template->params); $this->assertEquals('isis', $template->template); }
/** * Tests the JApplicationAdministrator::getTemplate method. * * @return void * * @since 3.2 */ public function testGetTemplate() { $this->markTestSkipped('Test fails due to JPATH_THEMES being defined for site.'); $template = $this->class->getTemplate(true); $this->assertThat($template->params, $this->isInstanceOf('JRegistry')); $this->assertThat($template->template, $this->equalTo('isis')); }