[ticket/224] Use new create_schema_files from phpBB and json schema

B3P-224
This commit is contained in:
Marc Alexander
2014-04-05 14:49:59 +02:00
parent 3d755c1c95
commit 4319d7d041
10 changed files with 3420 additions and 10458 deletions

View File

@@ -11,12 +11,12 @@ namespace board3\portal\tests\testframework;
class database_test_connection_manager extends \phpbb_database_test_connection_manager
{
public function load_schema()
public function load_schema($db)
{
$this->ensure_connected(__METHOD__);
$directory = dirname(__FILE__) . '/../schemas/';
$this->load_schema_from_file($directory);
$this->load_schema_from_file($directory, $db);
}
}