Skip to content

Commit 3c339cd

Browse files
committed
test: update expected
1 parent 221b9ac commit 3c339cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/system/Honeypot/HoneypotTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ public function testAttachHoneypotAndContainer()
6767
{
6868
$this->response->setBody('<form></form>');
6969
$this->honeypot->attachHoneypot($this->response);
70-
$expected = '<form><div style="display:none"><label>Fill This Field</label><input type="text" name="honeypot" value=""/></div></form>';
70+
$expected = '<form><div style="display:none"><label>Fill This Field</label><input type="text" name="honeypot" value=""></div></form>';
7171
$this->assertSame($expected, $this->response->getBody());
7272

7373
$this->config->container = '<div class="hidden">{template}</div>';
7474
$this->response->setBody('<form></form>');
7575
$this->honeypot->attachHoneypot($this->response);
76-
$expected = '<form><div class="hidden"><label>Fill This Field</label><input type="text" name="honeypot" value=""/></div></form>';
76+
$expected = '<form><div class="hidden"><label>Fill This Field</label><input type="text" name="honeypot" value=""></div></form>';
7777
$this->assertSame($expected, $this->response->getBody());
7878
}
7979

0 commit comments

Comments
 (0)