mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-23 18:16:12 +01:00
TASK: Adjust test to expect two pages
As we now import two pages into db, adjust test assertion.
This commit is contained in:
parent
a998f155c1
commit
9699a38158
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class PagesIndexerTest extends AbstractFunctionalTestCase
|
|||
->with(
|
||||
$this->stringContains($tableName),
|
||||
$this->callback(function ($documents) {
|
||||
return count($documents) === 1
|
||||
return count($documents) === 2
|
||||
&& isset($documents[0]['content']) && $documents[0]['content'] ===
|
||||
'this is the content of header content element that should get indexed Some text in paragraph'
|
||||
&& isset($documents[0]['search_abstract']) && $documents[0]['search_abstract'] ===
|
||||
|
|
Loading…
Reference in a new issue