From 5843305e4e4ae694fbc9f60317b8538a478a148d Mon Sep 17 00:00:00 2001 From: Nathan Dunn Date: Tue, 19 Feb 2019 15:16:44 +0000 Subject: [PATCH] Update tests --- tests/BasicFormBuilderTest.php | 6 +++--- tests/InputGroupTest.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/BasicFormBuilderTest.php b/tests/BasicFormBuilderTest.php index f52e984..bef3256 100644 --- a/tests/BasicFormBuilderTest.php +++ b/tests/BasicFormBuilderTest.php @@ -563,21 +563,21 @@ public function testCanSetGroupData() public function testRenderInputGroupWithBeforeAddon() { - $expected = '
@
'; + $expected = '
@
'; $result = $this->form->inputGroup('Username', 'username')->beforeAddon('@')->render(); $this->assertEquals($expected, $result); } public function testRenderInputGroupWithAfterAddon() { - $expected = '
.com.br
'; + $expected = '
.com.br
'; $result = $this->form->inputGroup('Site', 'site')->afterAddon('.com.br')->render(); $this->assertEquals($expected, $result); } public function testRenderInputGroupChangeTypeWithBothAddon() { - $expected = '
beforeafter
'; + $expected = '
beforeafter
'; $result = $this->form ->inputGroup('Secret', 'secret') ->type('password') diff --git a/tests/InputGroupTest.php b/tests/InputGroupTest.php index 609da7f..57510b2 100644 --- a/tests/InputGroupTest.php +++ b/tests/InputGroupTest.php @@ -20,7 +20,7 @@ public function testCanRenderBeforeAddon() $input = new InputGroup('username'); $this->assertEquals($input, $input->beforeAddon('@')); - $expected = '
@
'; + $expected = '
@
'; $result = $input->render(); $this->assertEquals($expected, $result); } @@ -31,7 +31,7 @@ public function testCanRenderAfterAddonAndType() $this->assertEquals($input, $input->type('email')); $this->assertEquals($input, $input->afterAddon('@domain.com')); - $expected = '
@domain.com
'; + $expected = '
@domain.com
'; $result = $input->render(); $this->assertEquals($expected, $result); }