mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-11 06:54:29 +02:00
[ticket/11608] split search tests into separate files
Tests for each search backend are into their own separate files. These separate classes inherit from a common search test case class. PHPBB3-11608
This commit is contained in:
24
tests/functional/search_postgres_test.php
Normal file
24
tests/functional/search_postgres_test.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2013 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__) . '/search_test.php';
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_search_postgres_test extends phpbb_functional_search_test
|
||||
{
|
||||
protected $search_backend;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$this->search_backend = 'phpbb_search_fulltext_postgres';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user