File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ class GH26_Test extends PHPUnit_Framework_TestCase
1111 **/
1212 public function testMSFilters ($ sCss , $ sExpected )
1313 {
14- $ oParser = new CSSParser ($ sCss );
15- $ oDoc = $ oParser ->parse ( );
14+ $ oParser = new CSSParser ();
15+ $ oDoc = $ oParser ->parseString ( $ sCss );
1616 $ this ->assertEquals ((string )$ oDoc , $ sExpected );
1717 }
1818 public function testMSFiltersProvider ()
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ class GH27_Test extends PHPUnit_Framework_TestCase
1111 **/
1212 public function testNamespaces ($ sCss , $ sExpected )
1313 {
14- $ oParser = new CSSParser ($ sCss );
15- $ oDoc = $ oParser ->parse ( );
14+ $ oParser = new CSSParser ();
15+ $ oDoc = $ oParser ->parseString ( $ sCss );
1616 $ this ->assertEquals ((string )$ oDoc , $ sExpected );
1717 }
1818 public function testNamespacesProvider ()
Original file line number Diff line number Diff line change 11<phpunit >
22 <testsuites >
33 <testsuite name =" PHP-CSS-Parser Tests" >
4+ <file >tests/CSSColorUtilsTest.php</file >
5+ <file >tests/CSSColorTest.php</file >
6+ <file >tests/CSSImportTest.php</file >
7+ <file >tests/CSSDocumentTest.php</file >
48 <file >tests/CSSDeclarationBlockTest.php</file >
5- <file >tests/CSSParserTests .php</file >
9+ <file >tests/CSSParserTest .php</file >
610 </testsuite >
711 <testsuite name =" PHP-CSS-Parser Bugs" >
812 <directory >tests/bugs</directory >
You can’t perform that action at this time.
0 commit comments