1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Started but couldn't test e_parse_shortcode

This commit is contained in:
Nick Liu
2018-09-27 11:32:06 -05:00
parent 9125b60b59
commit c512dc2fcc
2 changed files with 95 additions and 80 deletions

2
e107

Submodule e107 updated: 7340ea8377...c69184848c

View File

@@ -8,9 +8,27 @@
*
*/
class e_parse_shortcodeTest extends \Codeception\Test\Unit
{
/** @var e_parse_shortcode */
private $scParser;
public function _before()
{
try {
$this->scParser = $this->make('e_parse_shortcode');
} catch (Exception $e) {
$this->fail("Couldn't create e_parse_shortcode object");
}
$this->scParser->__construct();
}
// public function testShortcode_SITELINKS_ALT()
// {
// $output = $this->scParser->parseCodes('{SITELINKS_ALT=/e107_themes/jayya/images/arrow.png+noclick}');
// var_export($output);
// }
/*
public function testIsBatchOverride()
{
@@ -81,8 +99,5 @@
{
}
*/
}