Code Duplication    Length = 10-10 lines in 2 locations

eZ/Publish/Core/Persistence/Legacy/Tests/Content/UrlAlias/Gateway/DoctrineDatabaseTest.php 1 location

@@ 284-293 (lines=10) @@
281
     *
282
     * @return array
283
     */
284
    public function providerForTestArchiveUrlAliasesForDeletedTranslations()
285
    {
286
        return [
287
            [314, [2]],
288
            [315, [4]],
289
            [316, [4]],
290
            [317, [2, 8]],
291
            [318, [2, 8]],
292
        ];
293
    }
294
295
    /**
296
     * Test for the cleanupAfterPublish() method.

eZ/Publish/Core/MVC/Symfony/Matcher/Tests/ContentBased/UrlAliasTest.php 1 location

@@ 43-52 (lines=10) @@
40
        );
41
    }
42
43
    public function setMatchingConfigProvider()
44
    {
45
        return [
46
            ['/foo/bar/', ['foo/bar']],
47
            ['/foo/bar/', ['foo/bar']],
48
            ['/foo/bar', ['foo/bar']],
49
            [['/foo/bar/', 'baz/biz/'], ['foo/bar', 'baz/biz']],
50
            [['foo/bar', 'baz/biz'], ['foo/bar', 'baz/biz']],
51
        ];
52
    }
53
54
    /**
55
     * Returns a Repository mock configured to return the appropriate Section object with given section identifier.