Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:tests:postcontrollerprotectedposttest

This is an old revision of the document!


tests/unit/PostControllerProtectedPostTest.php

Source: tests/unit/PostControllerProtectedPostTest.php · 215 lines, ~1023 statements · namespace: (global) · `declare(strict_types=1)`: no


PostController Protected Post Flow Tests

Tests for PostController handling of password-protected posts including: \- Visibility validation logic \- Password requirement for protected posts \- Update logic when password is unchanged \- Session handling for protected posts

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/postcontrollerprotectedposttest.1790413765.txt.gz · Last modified: by admin