diff --git a/tests/Http/HttpRequestTest.php b/tests/Http/HttpRequestTest.php index 2f32423356bf..773a6849afe1 100644 --- a/tests/Http/HttpRequestTest.php +++ b/tests/Http/HttpRequestTest.php @@ -304,6 +304,12 @@ public function testFilledAnyMethod() $this->assertTrue($request->filledAny(['name'])); $this->assertTrue($request->filledAny('name')); + $this->assertFalse($request->filledAny(['age'])); + $this->assertFalse($request->filledAny('age')); + + $this->assertFalse($request->filledAny(['foo'])); + $this->assertFalse($request->filledAny('foo')); + $this->assertTrue($request->filledAny(['age', 'name'])); $this->assertTrue($request->filledAny('age', 'name')); @@ -312,6 +318,9 @@ public function testFilledAnyMethod() $this->assertFalse($request->filledAny('age', 'city')); $this->assertFalse($request->filledAny('age', 'city')); + + $this->assertFalse($request->filledAny('foo', 'bar')); + $this->assertFalse($request->filledAny('foo', 'bar')); } public function testInputMethod()