scriptlog:tests:postsapiintegrationtest
This is an old revision of the document!
Table of Contents
tests/api/integration/PostsApiIntegrationTest.php
Source: tests/api/integration/PostsApiIntegrationTest.php · 133 lines, ~617 statements · namespace: (global) · `declare(strict_types=1)`: no
PostsApi Integration Test
Database-backed integration tests for the PostService/PostDao API layer. Unlike the controller unit tests (which run each action in a subprocess because ApiResponse::send() exits), these tests call the service methods directly inside the PHPUnit process against the real blogware_test database seeded by ApiDataFixture.
Includes
^ Mode ^ Target ^ Line ^ | ''require'' | ''require_once __DIR__ . '/../ApiTestCase.php';'' | 14 | | ''require'' | ''require_once __DIR__ . '/../fixtures/ApiDataFixture.php';'' | 15 |
Types declared here
scriptlog/tests/postsapiintegrationtest.1790413764.txt.gz · Last modified: by admin
