Check boundary updating and failure recovery against isolated MySQL or PostgreSQL databases. Uses small local ZIP/release fixtures, with the same LGV_TZ_TEST_* settings as tests/databases.php. Add –live to exercise the installed shell command with the latest full download and all known-location checks. More...
Go to the source code of this file.
Functions | |
| updaterCheck ($expected, $actual, string $label) | |
| Check a result and count successful assertions. | |
| updaterFailure (callable $operation, string $message) | |
| Expect an operation to fail with a diagnostic message. | |
Variables | |
| $admin | |
| if(!in_array($driver, ['mysql', 'pgsql'], true)) | $checks |
| $connection | |
| $driver | |
| $name | |
| $options | |
| $settings | |
| $work | |
| try | |
© Copyright 2023-2026, Little Green Viper Software Development LLC. MIT License; see LICENSE.
Definition in file update.php.
| updaterCheck | ( | $expected, | |
| $actual, | |||
| string | $label ) |
Definition at line 20 of file update.php.
References $checks, and updaterCheck().
Referenced by updaterCheck().
| updaterFailure | ( | callable | $operation, |
| string | $message ) |
Definition at line 27 of file update.php.
References try, and updaterFailure().
Referenced by updaterFailure().
| $admin |
Definition at line 38 of file update.php.
| if (!in_array( $driver,[ 'mysql', 'pgsql'], true)) $checks |
Definition at line 17 of file update.php.
| $connection |
Definition at line 42 of file update.php.
| $driver |
Definition at line 15 of file update.php.
| $name |
Definition at line 33 of file update.php.
| $options |
Definition at line 14 of file update.php.
| $settings |
Definition at line 34 of file update.php.
Referenced by deployConnection(), deployExistingInstallation(), deployRefresh(), updateConnection(), and updateLoad().
| $work |
Definition at line 40 of file update.php.
Referenced by deployCleanup(), deployRefresh(), deployRefreshCleanup(), deployRun(), deploySave(), updateCleanup(), and updateRun().
| try |
Definition at line 43 of file update.php.