Skip to content

Commit

Permalink
Test ContentInfo::getContent()
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Apr 6, 2018
1 parent 5176d2d commit 964a623
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/lib/Integration/BaseTest.php
Expand Up @@ -615,6 +615,7 @@ protected function assertContentInfo($contentInfo, $data)
$this->assertEquals($data['contentTypeName'], $contentInfo->contentTypeName);
$this->assertEquals($data['contentTypeDescription'], $contentInfo->contentTypeDescription);
$this->assertEquals($data['languageCode'], $contentInfo->languageCode);
$this->assertInstanceOf('\Netgen\EzPlatformSiteApi\API\Values\Content', $contentInfo->content);
$this->assertInstanceOf('\Netgen\EzPlatformSiteApi\API\Values\Location', $contentInfo->mainLocation);
$this->assertInstanceOf('\eZ\Publish\API\Repository\Values\Content\ContentInfo', $contentInfo->innerContentInfo);
$this->assertInstanceOf('\eZ\Publish\API\Repository\Values\ContentType\ContentType', $contentInfo->innerContentType);
Expand Down

0 comments on commit 964a623

Please sign in to comment.