CI: PHPUnit: Fix count of categories created by default

pull/5168/head
Angel Fernando Quiroz Campos 9 months ago
parent 6073247ead
commit 4146a3bed7
  1. 2
      tests/CoreBundle/Repository/PageRepositoryTest.php

@ -317,7 +317,7 @@ class PageRepositoryTest extends AbstractApiTest
$result = $createDefaultPages->createDefaultPages($admin, $this->getAccessUrl(), 'en_US');
$this->assertTrue($result);
$this->assertSame(2, $pageRepo->count([]));
$this->assertSame(4, $pageCategoryRepo->count([]));
$this->assertSame(6, $pageCategoryRepo->count([]));
$result = $createDefaultPages->createDefaultPages($admin, $this->getAccessUrl(), 'en_US');
$this->assertFalse($result);

Loading…
Cancel
Save