scriptlog:tests:topicapidtotest
This is an old revision of the document!
Table of Contents
tests/api/unit/dto/TopicApiDtoTest.php
Source: tests/api/unit/dto/TopicApiDtoTest.php · 150 lines, ~551 statements · namespace: (global) · `declare(strict_types=1)`: no
TopicApiDto Test
Unit tests for Scriptlog\Dto\Api\TopicApiDto.
The transform() output contract (verified against the implementation in lib/dto/api/TopicApiDto.php) emits: id, title, slug, status, post_count, url. TopicApiDto does not emit per-item _links.
Includes
^ Mode ^ Target ^ Line ^ | ''require'' | ''require_once __DIR__ . '/../../ApiTestCase.php';'' | 14 | | ''require'' | ''require_once __DIR__ . '/../../fixtures/ApiDataFixture.php';'' | 15 |
Types declared here
scriptlog/tests/topicapidtotest.1790413764.txt.gz · Last modified: by admin
