Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:tests:tableprefixtest

This is an old revision of the document!


tests/TablePrefixTest.php

Source: tests/TablePrefixTest.php · 103 lines, ~466 statements · namespace: (global) · `declare(strict_types=1)`: no


Table Prefix Test

Tests the table prefix functionality for installation

Imports

^ Alias ^ Fully-qualified name ^
| ''TestCase'' | ''PHPUnit\Framework\TestCase'' |

Includes

^ Mode ^ Target ^ Line ^
| ''require'' | ''require_once __DIR__ . '/../lib/common.php';'' | 14 |
| ''require'' | ''require_once __DIR__ . '/../install/include/dbtable.php';'' | 16 |

Functions (1)

^ Function ^ Line ^ Params ^ Returns ^ Summary ^
| ''generate_table_prefix'' | 18 | 1 |  | Table Prefix Test |

generate_table_prefix()

public function generate_table_prefix($length = 6)

Table Prefix Test

^ Parameter ^ Type ^ Default ^ Description ^
| ''$length'' | ''(untyped)'' | ''6'' |  |

Types declared here


Generated by 'tools/gendoc'.

scriptlog/tests/tableprefixtest.1790413764.txt.gz · Last modified: by admin