19
19
*/
20
20
abstract class BaseTypeTestCase extends TypeTestCase
21
21
{
22
- use VersionAwareTest;
23
-
24
22
public const TESTED_TYPE = '' ;
25
23
26
24
public function testPassDisabledAsOption ()
@@ -114,8 +112,6 @@ public function testDefaultTranslationDomain()
114
112
115
113
public function testPassLabelTranslationParametersToView ()
116
114
{
117
- $ this ->requiresFeatureSet (403 );
118
-
119
115
$ view = $ this ->factory ->create ($ this ->getTestedType (), null , array_merge ($ this ->getTestOptions (), [
120
116
'label_translation_parameters ' => ['%param% ' => 'value ' ],
121
117
]))
@@ -126,8 +122,6 @@ public function testPassLabelTranslationParametersToView()
126
122
127
123
public function testPassAttrTranslationParametersToView ()
128
124
{
129
- $ this ->requiresFeatureSet (403 );
130
-
131
125
$ view = $ this ->factory ->create ($ this ->getTestedType (), null , array_merge ($ this ->getTestOptions (), [
132
126
'attr_translation_parameters ' => ['%param% ' => 'value ' ],
133
127
]))
@@ -138,8 +132,6 @@ public function testPassAttrTranslationParametersToView()
138
132
139
133
public function testInheritLabelTranslationParametersFromParent ()
140
134
{
141
- $ this ->requiresFeatureSet (403 );
142
-
143
135
$ view = $ this ->factory
144
136
->createNamedBuilder ('parent ' , FormTypeTest::TESTED_TYPE , null , [
145
137
'label_translation_parameters ' => ['%param% ' => 'value ' ],
@@ -153,8 +145,6 @@ public function testInheritLabelTranslationParametersFromParent()
153
145
154
146
public function testInheritAttrTranslationParametersFromParent ()
155
147
{
156
- $ this ->requiresFeatureSet (403 );
157
-
158
148
$ view = $ this ->factory
159
149
->createNamedBuilder ('parent ' , FormTypeTest::TESTED_TYPE , null , [
160
150
'attr_translation_parameters ' => ['%param% ' => 'value ' ],
@@ -168,8 +158,6 @@ public function testInheritAttrTranslationParametersFromParent()
168
158
169
159
public function testPreferOwnLabelTranslationParameters ()
170
160
{
171
- $ this ->requiresFeatureSet (403 );
172
-
173
161
$ view = $ this ->factory
174
162
->createNamedBuilder ('parent ' , FormTypeTest::TESTED_TYPE , null , [
175
163
'label_translation_parameters ' => ['%parent_param% ' => 'parent_value ' , '%override_param% ' => 'parent_override_value ' ],
@@ -185,8 +173,6 @@ public function testPreferOwnLabelTranslationParameters()
185
173
186
174
public function testPreferOwnAttrTranslationParameters ()
187
175
{
188
- $ this ->requiresFeatureSet (403 );
189
-
190
176
$ view = $ this ->factory
191
177
->createNamedBuilder ('parent ' , FormTypeTest::TESTED_TYPE , null , [
192
178
'attr_translation_parameters ' => ['%parent_param% ' => 'parent_value ' , '%override_param% ' => 'parent_override_value ' ],
@@ -202,8 +188,6 @@ public function testPreferOwnAttrTranslationParameters()
202
188
203
189
public function testDefaultLabelTranslationParameters ()
204
190
{
205
- $ this ->requiresFeatureSet (403 );
206
-
207
191
$ view = $ this ->factory ->createNamedBuilder ('parent ' , FormTypeTest::TESTED_TYPE )
208
192
->add ('child ' , $ this ->getTestedType (), $ this ->getTestOptions ())
209
193
->getForm ()
@@ -214,8 +198,6 @@ public function testDefaultLabelTranslationParameters()
214
198
215
199
public function testDefaultAttrTranslationParameters ()
216
200
{
217
- $ this ->requiresFeatureSet (403 );
218
-
219
201
$ view = $ this ->factory ->createNamedBuilder ('parent ' , FormTypeTest::TESTED_TYPE )
220
202
->add ('child ' , $ this ->getTestedType (), $ this ->getTestOptions ())
221
203
->getForm ()
0 commit comments