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.
| Alias | Fully-qualified name |
|---|---|
TestCase | PHPUnit\Framework\TestCase |
| Name | Value / expression | Line |
|---|---|---|
('SCRIPTLOG', true | define('SCRIPTLOG', true) | 1 |