File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ public function test_input_existence()
39
39
{
40
40
$ inputA = new ValidatedInput (['name ' => 'Taylor ' ]);
41
41
42
- $ this ->assertEquals ( true , $ inputA ->has ('name ' ));
43
- $ this ->assertEquals ( true , $ inputA ->missing ('votes ' ));
44
- $ this ->assertEquals ( true , $ inputA ->missing (['votes ' ]));
45
- $ this ->assertEquals ( false , $ inputA ->missing ('name ' ));
42
+ $ this ->assertTrue ( $ inputA ->has ('name ' ));
43
+ $ this ->assertTrue ( $ inputA ->missing ('votes ' ));
44
+ $ this ->assertTrue ( $ inputA ->missing (['votes ' ]));
45
+ $ this ->assertFalse ( $ inputA ->missing ('name ' ));
46
46
47
47
$ inputB = new ValidatedInput (['name ' => 'Taylor ' , 'votes ' => 100 ]);
48
48
49
- $ this ->assertEquals ( true , $ inputB ->has (['name ' , 'votes ' ]));
49
+ $ this ->assertTrue ( $ inputB ->has (['name ' , 'votes ' ]));
50
50
}
51
51
52
52
public function test_exists_method ()
You can’t perform that action at this time.
0 commit comments