-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
git clone [email protected]:OpenBuildings/swiftmailer-css-inliner
cd swiftmailer-css-inliner
composer install
vendor/bin/phpunit
Resulting in:
$ vendor/bin/phpunit
PHPUnit 4.8.36 by Sebastian Bergmann and contributors.
FF.
Time: 105 ms, Memory: 6.00MB
There were 2 failures:
1) Openbuildings\Swiftmailer\Test\CssInlinerPluginTest::testHtmlBody
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
-<head><style>
+ <head>
+ <style>
@@ @@
}
- </style></head>
-<body>
+ </style>
+ </head>
+ <body>
<div class="block" style="width: 100px; height: 20px;">
text
<ul>
-<li>
+ <li>
@@ @@
</ul>
-</div>
+ </div>
</body>
</html>'
/Users/hkdobrev/projects/swiftmailer-css-inliner/tests/src/CssInlinerPluginTest.php:69
2) Openbuildings\Swiftmailer\Test\CssInlinerPluginTest::testHtmlPart
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
-<head><style>
+ <head>
+ <style>
@@ @@
}
- </style></head>
-<body>
+ </style>
+ </head>
+ <body>
<div class="block" style="width: 100px; height: 20px;">
text
<ul>
-<li>
+ <li>
@@ @@
</ul>
-</div>
+ </div>
</body>
</html>'
/Users/hkdobrev/projects/swiftmailer-css-inliner/tests/src/CssInlinerPluginTest.php:86
FAILURES!
Tests: 3, Assertions: 3, Failures: 2.
Metadata
Metadata
Assignees
Labels
No labels