File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -244,24 +244,18 @@ function it_validates_itself()
244
244
$ this ->isValid ()->shouldReturn (true );
245
245
}
246
246
247
- /**
248
- * @dataProvider invalidCharacterExamples
249
- */
250
- function it_can_be_constructed_without_name_validation ($ name , $ invalid )
247
+ function it_can_be_constructed_without_name_validation ()
251
248
{
252
- $ this ->beConstructedThrough ('createWithoutValidation ' , [$ name ]);
249
+ $ this ->beConstructedThrough ('createWithoutValidation ' , ["\x20" ]);
253
250
254
- $ this ->isValid ()->shouldReturn (! $ invalid );
251
+ $ this ->isValid ()->shouldReturn (false );
255
252
}
256
253
257
- /**
258
- * @dataProvider invalidCharacterExamples
259
- */
260
- function it_can_be_constructed_without_value_validation ($ value , $ invalid )
254
+ function it_can_be_constructed_without_value_validation ()
261
255
{
262
- $ this ->beConstructedThrough ('createWithoutValidation ' , ['name ' , $ value ]);
256
+ $ this ->beConstructedThrough ('createWithoutValidation ' , ['name ' , "\x20" ]);
263
257
264
- $ this ->isValid ()->shouldReturn (! $ invalid );
258
+ $ this ->isValid ()->shouldReturn (false );
265
259
}
266
260
267
261
function it_can_be_constructed_without_max_age_validation ()
You can’t perform that action at this time.
0 commit comments