<commit_before><?php
require_once "PHPUnit/Extensions/Database/Autoload.php";

abstract class DataDatabaseTestCase extends PHPUnit_Extensions_Database_TestCase {

	public function getConnection() {
		$db = Loader::db();
		$pdo = new PDO('mysql:host=' . DB_SERVER . ';dbname=' . DB_DATABASE, DB_USERNAME, DB_PASSWORD);
		return $this->createDefaultDBConnection($pdo);
	}

	public function getDataSet() {
		$dir = CONCRETE_5_DATA_TEST_DIR . '/fixtures/';
		return new PHPUnit_Extensions_Database_DataSet_CompositeDataSet(array(
			$this->createMySQLXMLDataSet($dir . 'Datas.xml')
		));
	}
}<commit_msg>Add additional test case db tables<commit_after><?php
require_once "PHPUnit/Extensions/Database/Autoload.php";

abstract class DataDatabaseTestCase extends PHPUnit_Extensions_Database_TestCase {

	public function getConnection() {
		$db = Loader::db();
		$pdo = new PDO('mysql:host=' . DB_SERVER . ';dbname=' . DB_DATABASE, DB_USERNAME, DB_PASSWORD);
		return $this->createDefaultDBConnection($pdo);
	}

	public function getDataSet() {
		$dir = CONCRETE_5_DATA_TEST_DIR . '/fixtures/';
		return new PHPUnit_Extensions_Database_DataSet_CompositeDataSet(array(
			$this->createMySQLXMLDataSet($dir . 'Config.xml'),
			$this->createMySQLXMLDataSet($dir . 'Datas.xml'),
			$this->createMySQLXMLDataSet($dir . 'DataTypes.xml'),
			$this->createMySQLXMLDataSet($dir . 'DataAttributeKeys.xml')
		));
	}
}
{'fraction_non_alphanumeric': 0.13385826771653545, 'fraction_numerical': 0.0014316392269148174, 'mean_word_length': 5.955223880597015, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 5}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7129758', 'n_tokens_mistral': 481, 'n_tokens_neox': 468, 'n_words': 79}