Source: tests/unit/PostDaoUpdateFixTest.php · 336 lines, ~1506 statements · namespace: (global) · `declare(strict_types=1)`: no
PostDao Update Fix Test
Tests for the protected post update fix: \- PostDao::updatePost() conditionally includes password fields \- Only adds post_password/passphrase to UPDATE when not empty \- Prevents transaction rollback when editing protected posts without changing password
| Alias | Fully-qualified name |
|---|---|
TestCase | PHPUnit\Framework\TestCase |
| Name | Value / expression | Line |
|---|---|---|
('SCRIPTLOG', true | define('SCRIPTLOG', true) | 1 |