Code Duplication    Length = 35-35 lines in 2 locations

tests/Functional/Controller/PerformanceEventsControllerTest.php 1 location

@@ 28-62 (lines=35) @@
25
        }
26
    }
27
28
    public function getFields()
29
    {
30
        return [
31
            'performance_events',
32
            'id',
33
            'performance',
34
            'title',
35
            'type',
36
            'description',
37
            'premiere',
38
            'mainPicture',
39
            'sliderImage',
40
            'performance_small',
41
            'performance_big',
42
            'slider_small',
43
            'slider_slider',
44
            'reference',
45
            'url',
46
            'properties',
47
            'alt',
48
            'title',
49
            'src',
50
            'width',
51
            'height',
52
            'slug',
53
            'created_at',
54
            'updated_at',
55
            'date_time',
56
            'year',
57
            'month',
58
            'day',
59
            'time',
60
            'count',
61
        ];
62
    }
63
}
64

tests/Functional/Controller/PostsControllerTest.php 1 location

@@ 56-90 (lines=35) @@
53
        $em->flush($secondPost);
54
    }
55
56
    public function getFields()
57
    {
58
        return [
59
            'posts',
60
            'title',
61
            'short_description',
62
            'text',
63
            'mainPicture',
64
            'reference',
65
            'post_small',
66
            'post_big',
67
            'url',
68
            'properties',
69
            'alt',
70
            'title',
71
            'src',
72
            'width',
73
            'height',
74
            'slug',
75
            'tags',
76
            'id',
77
            'created_at',
78
            'updated_at',
79
            'page',
80
            'count',
81
            'total_count',
82
            '_links',
83
            'self',
84
            'first',
85
            'prev',
86
            'next',
87
            'last',
88
            'href',
89
        ];
90
    }
91
}
92