Code Duplication    Length = 37-39 lines in 2 locations

tests/Functional/Controller/EmployeesControllerTest.php 1 location

@@ 80-116 (lines=37) @@
77
        );
78
    }
79
80
    public function getFields()
81
    {
82
        return [
83
            'employees',
84
            'first_name',
85
            'last_name',
86
            'dob',
87
            'position',
88
            'biography',
89
            'slug',
90
            'avatar',
91
            'reference',
92
            'employee_small',
93
            'employee_big',
94
            'url',
95
            'properties',
96
            'alt',
97
            'title',
98
            'src',
99
            'width',
100
            'height',
101
            'created_at',
102
            'updated_at',
103
            'created_by',
104
            'updated_by',
105
            'page',
106
            'count',
107
            'total_count',
108
            '_links',
109
            'self',
110
            'first',
111
            'prev',
112
            'next',
113
            'last',
114
            'href',
115
        ];
116
    }
117
}
118

tests/Functional/Controller/PerformancesControllerTest.php 1 location

@@ 54-92 (lines=39) @@
51
        }
52
    }
53
54
    public function getFields()
55
    {
56
        return [
57
            'performances',
58
            'title',
59
            'type',
60
            'description',
61
            'premiere',
62
            'mainPicture',
63
            'sliderImage',
64
            'performance_small',
65
            'performance_big',
66
            'slider_small',
67
            'slider_slider',
68
            'reference',
69
            'url',
70
            'properties',
71
            'alt',
72
            'title',
73
            'src',
74
            'width',
75
            'height',
76
            'slug',
77
            'created_at',
78
            'updated_at',
79
            'links',
80
            'rel',
81
            'page',
82
            'count',
83
            'total_count',
84
            '_links',
85
            'self',
86
            'first',
87
            'prev',
88
            'next',
89
            'last',
90
            'href',
91
        ];
92
    }
93
}
94