Skip to content

Commit

Permalink
add more test variations
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Mar 12, 2018
1 parent 4bb96d1 commit 5403d02
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/Http/HttpRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));

Expand All @@ -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()
Expand Down

0 comments on commit 5403d02

Please sign in to comment.