Skip to content

Commit

Permalink
Update FormHelperTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nowackipawel authored Feb 10, 2019
1 parent bae0323 commit 1d6a3d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system/Helpers/FormHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,15 @@ public function testFormOpenMultipart()
$Value = csrf_hash();
$Name = csrf_token();
$expected = <<<EOH
<form action="http://example.com/index.php/foo/bar" name="form" id="form" method="POST" enctype="multipart&#x2F;form-data" accept-charset="utf-8">
<form action="http://example.com/index.php/foo/bar" enctype="multipart/form-data" name="form" id="form" method="POST" accept-charset="utf-8">
<input type="hidden" name="$Name" value="$Value" style="display:none;" />
EOH;
}
else
{
$expected = <<<EOH
<form action="http://example.com/index.php/foo/bar" name="form" id="form" method="POST" enctype="multipart&#x2F;form-data" accept-charset="utf-8">
<form action="http://example.com/index.php/foo/bar" enctype="multipart/form-data" name="form" id="form" method="POST" accept-charset="utf-8">
EOH;
}
Expand Down

0 comments on commit 1d6a3d8

Please sign in to comment.