mirror of
https://github.com/VladPolskiy/dokuwiki.git
synced 2025-08-15 22:25:03 +00:00
WIP add temporary test comparing two implementations of StyleUtils
This commit is contained in:
17
_test/tests/inc/styleutils_cssstyleini.test.php
Normal file
17
_test/tests/inc/styleutils_cssstyleini.test.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
class styleutils_cssstyleini_test extends DokuWikiTest {
|
||||
|
||||
function test_styleini()
|
||||
{
|
||||
$tpl = 'dokuwiki';
|
||||
$util = new \dokuwiki\StyleUtils;
|
||||
|
||||
$old = $util->cssStyleiniOld($tpl);
|
||||
$new = $util->cssStyleini($tpl);
|
||||
|
||||
$this->assertEquals($old, $new);
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user