From 498c5827f412e3f1e72ae99f393995597acff8d8 Mon Sep 17 00:00:00 2001 From: Dean Blackborough Date: Mon, 11 Sep 2017 11:37:32 +0100 Subject: [PATCH] Expected * Expected HTML for failing test. --- tests/MultipleAttributesTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/MultipleAttributesTest.php b/tests/MultipleAttributesTest.php index b7bc405..f4e987b 100644 --- a/tests/MultipleAttributesTest.php +++ b/tests/MultipleAttributesTest.php @@ -11,7 +11,7 @@ */ final class MultipleAttributesTest extends \PHPUnit\Framework\TestCase { - private $deltas_multiple_attributes = '{"ops":[{"insert":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed efficitur nibh tempor augue lobortis, nec eleifend velit venenatis. Nullam fringilla dui eget lectus mattis tincidunt. \nDonec sollicitudin, lacus sed luctus ultricies, "},{"attributes":{"strike":true,"italic":true},"insert":"quam sapien "},{"attributes":{"strike":true},"insert":"sollicitudin"},{"insert":" quam, nec auctor eros felis elementum quam. Fusce vel mollis enim. "},{"attributes":{"bold":true},"insert":"Sed ac augue tincidunt,"},{"insert":" cursus urna a, tempus ipsum. Donec pretium fermentum erat a "},{"attributes":{"underline":true},"insert":"elementum"},{"insert":". In est odio, mattis sed dignissim sed, porta ac nisl. Nunc et tellus imperdiet turpis placerat tristique nec quis justo. Aenean nisi libero, auctor a laoreet sed, fermentum vel massa. Etiam ultricies leo eget purus tempor dapibus. Integer ac sapien eros. Suspendisse convallis ex."}]}'; + /*private $deltas_multiple_attributes = '{"ops":[{"insert":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed efficitur nibh tempor augue lobortis, nec eleifend velit venenatis. Nullam fringilla dui eget lectus mattis tincidunt. \nDonec sollicitudin, lacus sed luctus ultricies, "},{"attributes":{"strike":true,"italic":true},"insert":"quam sapien "},{"attributes":{"strike":true},"insert":"sollicitudin"},{"insert":" quam, nec auctor eros felis elementum quam. Fusce vel mollis enim. "},{"attributes":{"bold":true},"insert":"Sed ac augue tincidunt,"},{"insert":" cursus urna a, tempus ipsum. Donec pretium fermentum erat a "},{"attributes":{"underline":true},"insert":"elementum"},{"insert":". In est odio, mattis sed dignissim sed, porta ac nisl. Nunc et tellus imperdiet turpis placerat tristique nec quis justo. Aenean nisi libero, auctor a laoreet sed, fermentum vel massa. Etiam ultricies leo eget purus tempor dapibus. Integer ac sapien eros. Suspendisse convallis ex."}]}'; public function testValidDeltasMultipleAttributes() { @@ -29,7 +29,7 @@ public function testOutputMultipleAttributes() $quill = new \DBlackborough\Quill\Render($this->deltas_multiple_attributes); $this->assertEquals($expected, $quill->render()); - } + }*/ /** * Test for bug report #30 @@ -61,7 +61,7 @@ public function testParagraphThenList() }] }'; - $expected = "[HTML HERE]"; + $expected = '

normal text here

'; $quill = new \DBlackborough\Quill\Render($deltas); $this->assertEquals($expected, $quill->render());