Table of Contents

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'.