Fix Page test

pull/4020/head^2
Julio 4 years ago
parent d50113981d
commit 0083c6b58d
  1. 4
      tests/CoreBundle/Repository/PageRepositoryTest.php

@ -179,10 +179,10 @@ class PageRepositoryTest extends AbstractApiTest
'@context' => '/api/contexts/Page',
'@id' => '/api/pages',
'@type' => 'hydra:Collection',
'hydra:totalItems' => 4,
'hydra:totalItems' => 2,
]);
$this->assertCount(4, $response->toArray()['hydra:member']);
$this->assertCount(2, $response->toArray()['hydra:member']);
$this->assertMatchesResourceCollectionJsonSchema(Page::class);
$response = $this->createClientWithCredentials($token)->request(

Loading…
Cancel
Save