diff --git a/tests/Support/ValidatedInputTest.php b/tests/Support/ValidatedInputTest.php index 6798bd69c914..7b85c1ae30c9 100644 --- a/tests/Support/ValidatedInputTest.php +++ b/tests/Support/ValidatedInputTest.php @@ -39,14 +39,14 @@ public function test_input_existence() { $inputA = new ValidatedInput(['name' => 'Taylor']); - $this->assertEquals(true, $inputA->has('name')); - $this->assertEquals(true, $inputA->missing('votes')); - $this->assertEquals(true, $inputA->missing(['votes'])); - $this->assertEquals(false, $inputA->missing('name')); + $this->assertTrue($inputA->has('name')); + $this->assertTrue($inputA->missing('votes')); + $this->assertTrue($inputA->missing(['votes'])); + $this->assertFalse($inputA->missing('name')); $inputB = new ValidatedInput(['name' => 'Taylor', 'votes' => 100]); - $this->assertEquals(true, $inputB->has(['name', 'votes'])); + $this->assertTrue($inputB->has(['name', 'votes'])); } public function test_exists_method()