mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix unit test error when repository name is not "rhymix"
This commit is contained in:
parent
a128b6e3cb
commit
e7eadcc6f1
1 changed files with 1 additions and 0 deletions
|
|
@ -1274,6 +1274,7 @@ class TemplateParserV2Test extends \Codeception\Test\Unit
|
|||
protected function _normalizeWhitespace(string $content): string
|
||||
{
|
||||
$content = preg_replace('/<!--#Template(Start|End):.+?-->\n/', '', $content);
|
||||
$content = preg_replace('!(action|src)="' . preg_quote($this->baseurl, '!') . '!', '$1="/rhymix/', $content);
|
||||
|
||||
$result = [];
|
||||
foreach (explode("\n", $content) as $line)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue