Bolt\Tests\Extension\SnippetsTest::testSnippetsWithGlobalCallback PHP Метод

testSnippetsWithGlobalCallback() публичный Метод

    public function testSnippetsWithGlobalCallback()
    {
        $this->markTestIncomplete('Update required');
        $app = $this->getApp();
        $app['extensions']->insertSnippet(Target::AFTER_META, '\\Bolt\\Tests\\Extensions\\globalSnippet', 'core', "\n");
        // Test snippet inserts at top of <head>
        $html = $app['extensions']->processSnippetQueue('<html></html>');
        $this->assertEquals('<html></html><br />' . PHP_EOL . PHP_EOL, $html);
    }