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 Jan 27, 2023
1 parent 3d80e9b commit b27e10f
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 @@ -320,14 +320,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 b27e10f

Please sign in to comment.