Skip to content

Commit

Permalink
Removed unneeded tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jason490 committed Nov 20, 2023
1 parent a3d2748 commit e83231a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 116 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
use Submitty\Twig\Extension\MarkdownExtensionTest;

// Require parent class if not autoloaded
if (!class_exists('\Aptoma\Twig\Extension\MarkdownExtensionTest')) {
if (!class_exists('\Submitty\Twig\Extension\MarkdownExtensionTest')) {
require_once(__DIR__ . '/../MarkdownExtensionTest.php');
}

/**
* Class PHPLeagueCommonMarkEngineTest
* Class PHPLeagueMarkdownEngineTest
*
* @author Casey McLaughlin <[email protected]>
*/
class PHPLeagueCommonMarkEngineTest extends MarkdownExtensionTest
class PHPLeagueMarkdownEngineTest extends MarkdownExtensionTest
{
protected function getEngine()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Submitty/Twig/TokenParser/MarkdownTokenParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function getTests()
\$lines = explode("\\n", \$content);
\$content = preg_replace('/^' . \$matches[0]. '/', "", \$lines);
\$content = join("\\n", \$content);
echo \$this->env->getExtension('Aptoma\Twig\Extension\MarkdownExtension')->parseMarkdown(\$content);
echo \$this->env->getExtension('Submitty\Twig\Extension\MarkdownExtension')->parseMarkdown(\$content);
EOF
);

Expand All @@ -106,7 +106,7 @@ public function getTests()
\$lines = explode("\\n", \$content);
\$content = preg_replace('/^' . \$matches[0]. '/', "", \$lines);
\$content = join("\\n", \$content);
echo \$this->env->getExtension('Aptoma\Twig\Extension\MarkdownExtension')->parseMarkdown(\$content);
echo \$this->env->getExtension('Submitty\Twig\Extension\MarkdownExtension')->parseMarkdown(\$content);
EOF
);

Expand Down

0 comments on commit e83231a

Please sign in to comment.