Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:tests:postcontrollervalidationtest

This is an old revision of the document!


tests/unit/PostControllerValidationTest.php

Source: tests/unit/PostControllerValidationTest.php · 177 lines, ~836 statements · namespace: (global) · `declare(strict_types=1)`: no


PostController Validation Test

Tests that empty post_title or post_content prevents saving.

Imports

^ Alias ^ Fully-qualified name ^
| ''TestCase'' | ''PHPUnit\Framework\TestCase'' |

Constants

^ Name ^ Value / expression ^ Line ^
| ''('SCRIPTLOG', true'' | ''define('SCRIPTLOG', true)'' | 1 |

Types declared here


Generated by 'tools/gendoc'.

scriptlog/tests/postcontrollervalidationtest.1790413765.txt.gz · Last modified: by admin