scriptlog:tests:tableprefixtest
Table of Contents
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
scriptlog/tests/tableprefixtest.txt · Last modified: by admin
