Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Fixed "Empty validation message for file input when sent array for file input #184" #185

Merged
merged 8 commits into from
Aug 28, 2019
Merged
Next Next commit
Update InputTest.php
  • Loading branch information
ruzann authored Aug 3, 2018
commit 8b8c0ff3e6b4934c123849fa5b6704d29db579fc
5 changes: 3 additions & 2 deletions test/InputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ public function testDefaultGetValue()

public function testValueMayBeInjected()
{
$valueRaw = $this->getDummyValue();
$valueRaw = $this->
();

$this->input->setValue($valueRaw);
$this->assertEquals($valueRaw, $this->input->getValue());
Expand Down Expand Up @@ -941,7 +942,7 @@ protected function createNonEmptyValidatorMock($isValid, $value, $context = null
protected function getDummyValue($raw = true)
{
if ($raw) {
return 'foo';
return 'foo1';
} else {
return 'filtered';
}
Expand Down