<commit_before><?php

require_once(TESTDIR . 'simpletest/autorun.php');
require_once(TESTDIR . '../SSI.php');

/**
 * TestCase class for logging
 */
class TestLogging extends UnitTestCase
{
	function tearDown()
	{
		// remove useless data
	}

	function testLogLoginHistory()
	{
		logLoginHistory(1, '10.100.10.100', '172.16.58.3');
	}
}<commit_msg>! make the tests work :pray:<commit_after><?php

require_once(TESTDIR . 'simpletest/autorun.php');
require_once(TESTDIR . '../SSI.php');
require_once(SUBSDIR . '/Logging.subs.php');

/**
 * TestCase class for logging
 */
class TestLogging extends UnitTestCase
{
	function tearDown()
	{
		// remove useless data
	}

	function testLogLoginHistory()
	{
		logLoginHistory(1, '10.100.10.100', '172.16.58.3');
	}
}
{'fraction_non_alphanumeric': 0.164021164021164, 'fraction_numerical': 0.05026455026455026, 'mean_word_length': 4.149659863945578, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '1183815', 'n_tokens_mistral': 299, 'n_tokens_neox': 275, 'n_words': 53}