Microweber\tests\TemplateTest::testGetAllTemplates PHP Method

testGetAllTemplates() public method

public testGetAllTemplates ( )
    public function testGetAllTemplates()
    {
        $templates = site_templates();
        $this->assertTrue(!empty($templates), true);
        $this->assertTrue(!empty($templates[0]), true);
        $this->assertTrue(isset($templates[0]['name']), true);
        $this->assertTrue(isset($templates[0]['dir_name']), true);
    }