Skip to content

Commit

Permalink
FileElementTest: Drop testValueAttributeIsNotRendered case
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Feb 1, 2023
1 parent 1caa5ee commit bce56f0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/FormElement/FileElementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,14 +281,6 @@ public function testMutipleAttributeAlsoChangesNameAttribute()
$this->assertSame($file->getName(), 'test_file');
}

public function testValueAttributeIsNotRendered()
{
$file = new FileElement('test_file');

$file->setValue('test');
$this->assertHtml('<input name="test_file" type="file">', $file);
}

public function testDefaultMaxFileSizeAsBytesIsParsedCorrectly()
{
$element = new FileElementWithAdjustableConfig('test');
Expand Down

0 comments on commit bce56f0

Please sign in to comment.