Skip to content

Commit

Permalink
Fixing style errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
stickler-ci committed Jan 23, 2018
1 parent 43f20f0 commit 23d7a0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/ORM/Exception/PersistenceFailedException.php
Expand Up @@ -85,5 +85,4 @@ public function getEntity()
{
return $this->_entity;
}

}
4 changes: 2 additions & 2 deletions tests/TestCase/ORM/TableTest.php
Expand Up @@ -6507,7 +6507,7 @@ public function testSaveOrFail()
{
$this->expectException(\Cake\ORM\Exception\PersistenceFailedException::class);
$this->expectExceptionMessage('Entity save failure.');

$entity = new Entity([
'foo' => 'bar'
]);
Expand All @@ -6525,7 +6525,7 @@ public function testSaveOrFailErrorDisplay()
{
$this->expectException(\Cake\ORM\Exception\PersistenceFailedException::class);
$this->expectExceptionMessage('Entity save failure (field: "Some message", multiple: "one, two")');

$entity = new Entity([
'foo' => 'bar'
]);
Expand Down

0 comments on commit 23d7a0d

Please sign in to comment.