Code Duplication    Length = 7-7 lines in 2 locations

src/Kunstmaan/AdminListBundle/Tests/unit/AdminList/FilterType/DBAL/DateFilterTypeTest.php 1 location

@@ 59-65 (lines=7) @@
56
    /**
57
     * @return array
58
     */
59
    public static function applyDataProvider()
60
    {
61
        return array(
62
            array('before', '<= :var_date', '20/12/2012', '2012-12-20'),
63
            array('after', '> :var_date', '21/12/2012', '2012-12-21'),
64
        );
65
    }
66
67
    public function testGetTemplate()
68
    {

src/Kunstmaan/AdminListBundle/Tests/unit/AdminList/FilterType/ORM/DateFilterTypeTest.php 1 location

@@ 67-73 (lines=7) @@
64
    /**
65
     * @return array
66
     */
67
    public static function applyDataProvider()
68
    {
69
        return array(
70
            array('before', '<= :var_date', '20/12/2012', '2012-12-20'),
71
            array('after', '> :var_date', '21/12/2012', '2012-12-21'),
72
        );
73
    }
74
75
    public function testGetTemplate()
76
    {