Skip to content

Commit

Permalink
Fix phpunit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
neilime committed Oct 14, 2019
1 parent 53ad16e commit 8c0d4b6
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ public function testRenderIconWithStringIconOption()
{
$this->assertEquals(
'<button type="button" name="test" class="btn&#x20;btn-secondary" value="">'.
'<i class="fa-bootstrap&#x20;fab"></button>',
'<i class="fa-bootstrap&#x20;fab"></i>'.
'</button>',
$this->formButtonHelper->render(new \Zend\Form\Element\Button(
'test',
[
Expand All @@ -77,7 +78,8 @@ public function testRenderIconWithArrayIconOption()
{
$this->assertEquals(
'<button type="button" name="test" class="btn&#x20;btn-secondary" value="">'.
'<i class="fa-bootstrap&#x20;fab"> test</button>',
'<i class="fa-bootstrap&#x20;fab"></i> test'.
'</button>',
$this->formButtonHelper->render(new \Zend\Form\Element\Button(
'test',
[
Expand All @@ -92,7 +94,8 @@ public function testRenderIconWithArrayIconOption()

$this->assertEquals(
'<button type="button" name="test" class="btn&#x20;btn-secondary" value="">'.
'test <i class="fa-bootstrap&#x20;fab"></button>',
'test <i class="fa-bootstrap&#x20;fab"></i>'.
'</button>',
$this->formButtonHelper->render(new \Zend\Form\Element\Button(
'test',
[
Expand Down

0 comments on commit 8c0d4b6

Please sign in to comment.