Code Duplication    Length = 8-9 lines in 4 locations

src/Kunstmaan/AdminBundle/Tests/unit/EventListener/AdminLocaleListenerTest.php 1 location

@@ 47-54 (lines=8) @@
44
        $listener->onKernelRequest($event);
45
    }
46
47
    public function requestDataProvider()
48
    {
49
        return [
50
            ['/en/admin/', true, 1],
51
            ['/en/whatever/', false, 0],
52
            ['/en/admin/preview/', true, 1],
53
        ];
54
    }
55
}
56

src/Kunstmaan/AdminBundle/Tests/unit/EventListener/PasswordCheckListenerTest.php 1 location

@@ 53-60 (lines=8) @@
50
        $listener->onKernelRequest($event);
51
    }
52
53
    public function requestDataProvider()
54
    {
55
        return [
56
            ['/en/admin/', true, 2],
57
            ['/en/random', false, 0],
58
            ['/en/admin/preview/', true, 2],
59
        ];
60
    }
61
}
62

src/Kunstmaan/SitemapBundle/Tests/unit/Model/SitemapUrlTest.php 1 location

@@ 28-36 (lines=9) @@
25
        }
26
    }
27
28
    public function priorityDataProvider()
29
    {
30
        return [
31
            [0.0, false],
32
            [-1.0, true],
33
            [1.0, false],
34
            [1.2, true],
35
        ];
36
    }
37
}
38

src/Kunstmaan/VotingBundle/Tests/unit/EventListener/Security/MaxNumberByIpEventListenerTest.php 1 location

@@ 90-97 (lines=8) @@
87
     *
88
     * @return array
89
     */
90
    public function dataTestOnVote()
91
    {
92
        return array(
93
            array(2, 2, true),
94
            array(2, 1, false),
95
            array(2, 3, true),
96
        );
97
    }
98
}
99