Skip to content

Commit 2a5f706

Browse files
committed
Add a new HTMLEntry
1 parent 253cd95 commit 2a5f706

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/core/etl/tests/Flow/ETL/Tests/Unit/Row/EntryFactoryTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ public static function provide_recognized_data() : \Generator
6262
xml_entry('e', $xml),
6363
];
6464

65+
yield 'html' => [
66+
$html = '<html><body><div id="id">2</div><p>3</p></body></html>',
67+
html_entry('e', $html),
68+
];
69+
6570
yield 'uuid' => [
6671
$uuid = '00000000-0000-0000-0000-000000000000',
6772
uuid_entry('e', $uuid),
@@ -82,6 +87,10 @@ public static function provide_unrecognized_data() : \Generator
8287
'<root',
8388
];
8489

90+
yield 'html alike' => [
91+
'<html',
92+
];
93+
8594
yield 'space' => [
8695
' ',
8796
];

0 commit comments

Comments
 (0)