Skip to content

Commit

Permalink
Aligned expected validation error message with kernel changes (#97)
Browse files Browse the repository at this point in the history
Error message changed in ezsystems/ezplatform-kernel#329
  • Loading branch information
alongosz authored Oct 6, 2022
1 parent e59127f commit 2cdbc7e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function testVisit()
*/
public function testResultContainsErrorDescription($result)
{
$this->assertXMLTag(
self::assertXMLTag(
[
'tag' => 'errorDescription',
'content' => $this->getExpectedDescription(),
Expand All @@ -70,15 +70,15 @@ public function testResultContainsErrorDescription($result)
*/
public function testResultContainsErrorDetails($result)
{
$this->assertXMLTag(
self::assertXMLTag(
[
'tag' => 'errorDetails',
],
$result,
'Missing <errorDetails> element.'
);

$this->assertXMLTag(
self::assertXMLTag(
[
'tag' => 'field',
],
Expand Down Expand Up @@ -114,7 +114,7 @@ protected function getExpectedMessage()
*/
protected function getExpectedDescription()
{
return 'Content Fields did not validate';
return 'Content fields did not validate';
}

/**
Expand Down

0 comments on commit 2cdbc7e

Please sign in to comment.