Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:tests:postdaosecuritytest

This is an old revision of the document!


tests/unit/PostDaoSecurityTest.php

Source: tests/unit/PostDaoSecurityTest.php · 115 lines, ~587 statements · namespace: (global) · `declare(strict_types=1)`: no


PostDao Security Test

Tests security features in PostDao including status/visibility filtering. Verifies that draft and private posts cannot be accessed through frontend.

This test focuses on method signature and parameter validation without DB connection.

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