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

@@ -1,5 +1,5 @@
<?php <?php
/** /**
* e107 website system * e107 website system
* *
* Copyright (C) 2008-2018 e107 Inc (e107.org) * Copyright (C) 2008-2018 e107 Inc (e107.org)
@@ -8,10 +8,28 @@
* *
*/ */
class e_parse_shortcodeTest extends \Codeception\Test\Unit
{
/** @var e_parse_shortcode */
private $scParser;
class e_parse_shortcodeTest extends \Codeception\Test\Unit 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() public function testIsBatchOverride()
{ {
@@ -81,8 +99,5 @@
{ {
} }
*/
*/ }
}