scriptlog:tests:searchapiintegrationtest
This is an old revision of the document!
Table of Contents
tests/api/integration/SearchApiIntegrationTest.php
Source: tests/api/integration/SearchApiIntegrationTest.php · 135 lines, ~625 statements · namespace: (global) · `declare(strict_types=1)`: no
SearchApi Integration Test
Database-backed integration tests for the SearchFinder engine against real seeded posts. Verifies result counts, pagination metadata and multi-word queries against tbl_posts' FULLTEXT index.
Note: the engine uses MATCH … AGAINST … IN BOOLEAN MODE, which matches whole tokens; prefix/partial matches (“sta” for “static”) are not supported unless a wildcard is appended, so full-word queries are asserted instead.
Includes
^ Mode ^ Target ^ Line ^ | ''require'' | ''require_once __DIR__ . '/../ApiTestCase.php';'' | 16 | | ''require'' | ''require_once __DIR__ . '/../fixtures/ApiDataFixture.php';'' | 17 |
Types declared here
scriptlog/tests/searchapiintegrationtest.1790413764.txt.gz · Last modified: by admin
