Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:tests:postdaoupdatefixtest

This is an old revision of the document!


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


Generated by 'tools/gendoc'.

scriptlog/tests/postdaoupdatefixtest.1790413765.txt.gz · Last modified: by admin