scriptlog:tests:postdaoupdatefixtest
This is an old revision of the document!
Table of Contents
tests/unit/PostDaoUpdateFixTest.php
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
Imports
^ Alias ^ Fully-qualified name ^ | ''TestCase'' | ''PHPUnit\Framework\TestCase'' |
Constants
^ Name ^ Value / expression ^ Line ^
| ''('SCRIPTLOG', true'' | ''define('SCRIPTLOG', true)'' | 1 |
Types declared here
scriptlog/tests/postdaoupdatefixtest.1790413765.txt.gz · Last modified: by admin
