1 | <?php |
||
19 | class HtmlTest extends TestCaseAbstract |
||
20 | { |
||
21 | /** |
||
22 | * setUp |
||
23 | * |
||
24 | * @since 3.1.0 |
||
25 | */ |
||
26 | |||
27 | public function setUp() : void |
||
28 | { |
||
29 | parent::setUp(); |
||
30 | $optionArray = $this->getOptionArray(); |
||
31 | $installer = $this->installerFactory(); |
||
32 | $installer->init(); |
||
33 | $installer->rawCreate(); |
||
34 | $installer->insertSettings($optionArray); |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * tearDown |
||
39 | * |
||
40 | * @since 3.1.0 |
||
41 | */ |
||
42 | |||
43 | public function tearDown() : void |
||
44 | { |
||
45 | $this->dropDatabase(); |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * testSanitize |
||
50 | * |
||
51 | * @since 2.2.0 |
||
52 | * |
||
53 | * @param string $html |
||
54 | * @param string $expect |
||
55 | * |
||
56 | * @dataProvider providerAutoloader |
||
57 | */ |
||
58 | |||
59 | public function testSanitize(string $html = null, string $expect = null) : void |
||
73 | } |
||
74 |