diff --git a/tests/SanitizeTest.php b/tests/SanitizeTest.php
index 9d215f3..4158c6b 100644
--- a/tests/SanitizeTest.php
+++ b/tests/SanitizeTest.php
@@ -167,9 +167,10 @@ class SanitizeTest extends PHPUnit_Framework_TestCase {
$this->assertEquals('This is a photo post with an img
tag inside the content.', $data->data->content->html);
}
+ /*
+ // Commented out until #56 is resolved
+ // https://github.com/aaronpk/XRay/issues/56
public function testPhotoInTextContentNoAlt() {
- // https://github.com/aaronpk/XRay/issues/56
-
$url = 'http://sanitize.example/photo-in-text-content';
$response = $this->parse(['url' => $url]);
@@ -182,6 +183,7 @@ class SanitizeTest extends PHPUnit_Framework_TestCase {
$this->assertEquals('This is a photo post with an img tag inside the content.', $data->data->content->text);
$this->assertEquals('This is a photo post with an img
tag inside the content.', $data->data->content->html);
}
+ */
public function testPhotoInContentEmptyAltAttribute() {
// https://github.com/aaronpk/XRay/issues/52
@@ -278,6 +280,9 @@ class SanitizeTest extends PHPUnit_Framework_TestCase {
$this->assertEquals('https://igx.4sqi.net/img/general/original/476_zM3UgU9JHNhom907Ac_1WCEcUhGOJZaNWGlRmev86YA.jpg', $data->data->photo[1]);
}
+ /*
+ // Commented out until #55 is resolved
+ // https://github.com/aaronpk/XRay/issues/55
public function testEntryWithImgNoImpliedPhoto() {
// See https://github.com/microformats/microformats2-parsing/issues/6#issuecomment-357286985
// and https://github.com/aaronpk/XRay/issues/52#issuecomment-357269683
@@ -295,5 +300,6 @@ class SanitizeTest extends PHPUnit_Framework_TestCase {
$this->assertEquals('This is a photo post with an img tag inside the content, which does not have a u-photo class so should not be removed.', $data->data->content->text);
$this->assertEquals('This is a photo post with an img
tag inside the content, which does not have a u-photo class so should not be removed. ', $data->data->content->html);
}
+ */
}
diff --git a/tests/data/sanitize.example/entry-with-valid-tags b/tests/data/sanitize.example/entry-with-valid-tags
index 253ca44..a14006f 100644
--- a/tests/data/sanitize.example/entry-with-valid-tags
+++ b/tests/data/sanitize.example/entry-with-valid-tags
@@ -10,7 +10,7 @@ Connection: keep-alive
inline code
, inline quote,
This content has only valid tags. links, abbreviations, bold, inline code
, delete, emphasis, italics,
inline quote
, strikethrough, strong text, and are supported inline elements.
Blockquote tags are okay