File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ public static function getInvalidIsbn()
121
121
122
122
public function testNullIsValid ()
123
123
{
124
- $ constraint = new Isbn (true );
124
+ $ constraint = new Isbn ();
125
125
126
126
$ this ->validator ->validate (null , $ constraint );
127
127
@@ -130,7 +130,7 @@ public function testNullIsValid()
130
130
131
131
public function testEmptyStringIsValid ()
132
132
{
133
- $ constraint = new Isbn (true );
133
+ $ constraint = new Isbn ();
134
134
135
135
$ this ->validator ->validate ('' , $ constraint );
136
136
@@ -140,7 +140,7 @@ public function testEmptyStringIsValid()
140
140
public function testExpectsStringCompatibleType ()
141
141
{
142
142
$ this ->expectException (UnexpectedValueException::class);
143
- $ constraint = new Isbn (true );
143
+ $ constraint = new Isbn ();
144
144
145
145
$ this ->validator ->validate (new \stdClass (), $ constraint );
146
146
}
You can’t perform that action at this time.
0 commit comments