Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Commit

Permalink
Whoops, bad formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Jun 7, 2016
1 parent 3f46bbb commit 28e94bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/FormTest.php
Expand Up @@ -119,8 +119,9 @@ public function testTrimForBindFromRequestCanBeDisabled()

public function testWithError()
{
$form = (new Form($this->prophesize(MappingInterface::class)
->reveal()))->withError(new FormError('bar', 'foo'));
$form = (
new Form($this->prophesize(MappingInterface::class)->reveal())
)->withError(new FormError('bar', 'foo'));
$this->assertTrue($form->hasErrors());
$this->assertSame('bar', iterator_to_array($form->getErrors())[0]->getKey());
$this->assertSame('foo', iterator_to_array($form->getErrors())[0]->getMessage());
Expand Down

0 comments on commit 28e94bb

Please sign in to comment.