Code Duplication    Length = 7-8 lines in 2 locations

src/system/SecurityCenterModule/Tests/Api/HtmlFilterApiTest.php 1 location

@@ 49-55 (lines=7) @@
46
        $this->assertEquals($exptectedOff, $api->filter($string));
47
    }
48
49
    public function stringProvider()
50
    {
51
        return [
52
            ['"foo" and \'bar\' <foo>', '&quot;foo&quot; and \'bar\' &lt;foo&gt;', '&quot;foo&quot; and \'bar\' &lt;foo&gt;'],
53
            ['foo &amp;xyz;bar', 'foo &amp;xyz;bar', 'foo &amp;amp;xyz;bar'], // `&` is converted then converted back
54
        ];
55
    }
56
57
    public function testSubscriber()
58
    {

src/system/ThemeModule/Tests/Api/PageAssetApiTest.php 1 location

@@ 51-58 (lines=8) @@
48
        $this->api->add($type, $value);
49
    }
50
51
    public function exceptionDataProvider()
52
    {
53
        return [
54
            ['foo', 'bar'],
55
            ['', 'bar'],
56
            ['foo', ''],
57
        ];
58
    }
59
}
60