Skip to content

Commit

Permalink
Fixed test due to cut
Browse files Browse the repository at this point in the history
  • Loading branch information
jamielsharief committed Aug 4, 2021
1 parent 7e31363 commit 12ae84e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/TestCase/Http/View/Helper/FormHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ public function testSelectDisabled()

public function testSelect()
{
$FormHelper = $this->Form;

$expected = '<select name="status"><option value="0">draft</option><option value="1">new</option><option value="2">published</option></select>';
$this->assertEquals($expected, $FormHelper->select('status', ['draft', 'new', 'published']));

Expand Down

0 comments on commit 12ae84e

Please sign in to comment.