Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| phpbb_functional_search_postgres_test | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
6 | |
0.00% |
0 / 1 |
| setUp | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
6 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * |
| 4 | * This file is part of the phpBB Forum Software package. |
| 5 | * |
| 6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
| 8 | * |
| 9 | * For full copyright and license information, please see |
| 10 | * the docs/CREDITS.txt file. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | require_once __DIR__ . '/base.php'; |
| 15 | |
| 16 | /** |
| 17 | * @group functional |
| 18 | */ |
| 19 | class phpbb_functional_search_postgres_test extends phpbb_functional_search_base |
| 20 | { |
| 21 | protected $search_backend = 'phpbb\search\backend\fulltext_postgres'; |
| 22 | |
| 23 | protected function setUp(): void |
| 24 | { |
| 25 | $sql_layer = substr(self::$config['dbms'], strlen('phpbb\\db\\driver\\')); |
| 26 | if ($sql_layer !== 'postgres') // PostgreSQL search backend runs on PostgreSQL only |
| 27 | { |
| 28 | $this->markTestSkipped($sql_layer . ': PostgreSQL search is not supported'); |
| 29 | } |
| 30 | |
| 31 | parent::setUp(); |
| 32 | } |
| 33 | } |