Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Prokyonn committed Apr 16, 2021
1 parent 536c135 commit d532ca8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Document/ArticleViewDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ public function setTargetWebspace($targetWebspace)
/**
* {@inheritdoc}
*/
public function getContentFields(): array
public function getContentFields()
{
return $this->contentFields;
}
Expand Down
2 changes: 1 addition & 1 deletion Document/ArticleViewDocumentInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ public function setTargetWebspace($targetWebspace);
/**
* @return string[]
*/
public function getContentFields(): array;
public function getContentFields();

/**
* @param string[] $searchableContent
Expand Down
4 changes: 2 additions & 2 deletions Tests/Functional/Controller/TemplateControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public function testGet()
$this->assertHttpStatusCode(200, $client->getResponse());

$response = json_decode($client->getResponse()->getContent(), true);
$this->assertEquals(2, $response['total']);
$this->assertCount(2, $response['_embedded']);
$this->assertEquals(3, $response['total']);
$this->assertCount(3, $response['_embedded']);
$this->assertContains(
[
'internal' => false,
Expand Down

0 comments on commit d532ca8

Please sign in to comment.