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.
| Mode | Target | Line |
|---|---|---|
require | require_once DIR . '/../ApiTestCase.php'; | 14 |
require | require_once DIR . '/../fixtures/ApiDataFixture.php'; | 15 |