Skip to content

Commit 2cdbc7e

Browse files
authored
Aligned expected validation error message with kernel changes (#97)
Error message changed in ezsystems/ezplatform-kernel#329
1 parent e59127f commit 2cdbc7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/lib/Server/Output/ValueObjectVisitor/ContentFieldValidationExceptionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function testVisit()
5151
*/
5252
public function testResultContainsErrorDescription($result)
5353
{
54-
$this->assertXMLTag(
54+
self::assertXMLTag(
5555
[
5656
'tag' => 'errorDescription',
5757
'content' => $this->getExpectedDescription(),
@@ -70,15 +70,15 @@ public function testResultContainsErrorDescription($result)
7070
*/
7171
public function testResultContainsErrorDetails($result)
7272
{
73-
$this->assertXMLTag(
73+
self::assertXMLTag(
7474
[
7575
'tag' => 'errorDetails',
7676
],
7777
$result,
7878
'Missing <errorDetails> element.'
7979
);
8080

81-
$this->assertXMLTag(
81+
self::assertXMLTag(
8282
[
8383
'tag' => 'field',
8484
],
@@ -114,7 +114,7 @@ protected function getExpectedMessage()
114114
*/
115115
protected function getExpectedDescription()
116116
{
117-
return 'Content Fields did not validate';
117+
return 'Content fields did not validate';
118118
}
119119

120120
/**

0 commit comments

Comments
 (0)