<commit_before><?php
require_once("karma-data-design.php");
require_once("phpunit.xml");
/**
* Full PHPUnit test for the Member class
*
* This is a complete PHPUnit test of the Member class. It is complete because *ALL* mySQL/PDO enabled methods
* are tested for both invalid and valid inputs.
*
* @see Member
* @author <NAME> <<EMAIL>>
**/
class MemberTest extends KarmaDataDesignTest {
	/**
	 * valid at email to use
	 * @var string $VALID_ATEMAIL
	 **/
	protected $VALID_ATEMAIL = "@phpunit";

	/**
	 * test inserting a valid Member and verify that the actual mySQL data matches
	 **/
	public function testInsertValidMember() {
// count the number of rows and save it for later
		$numRows = $this->getConnection()->getRowCount("member");<commit_msg>updated member-test.php.<commit_after><?php
//grab the test parameters
require_once("karma-data-design.php");
//grab the class to test
require_once(dirname(__DIR__) . "/public_html/php/classes/member.php");

/**
* Full PHPUnit test for the Member class
*
* This is a complete PHPUnit test of the Member class. It is complete because *ALL* mySQL/PDO enabled methods
* are tested for both invalid and valid inputs.
*
* @see Member
* @author <NAME> <<EMAIL>>
**/

class MemberTest extends KarmaDataDesignTest {
	/**
	 * valid at email to use
	 * @var string $VALID_ATEMAIL
	 **/
	protected $VALID_ATEMAIL = "@phpunit";

	/**
	 * test inserting a valid Member and verify that the actual mySQL data matches
	 **/
	public function testInsertValidMember() {
// count the number of rows and save it for later
		$numRows = $this->getConnection()->getRowCount("member");
{'fraction_non_alphanumeric': 0.11786600496277916, 'fraction_numerical': 0.0, 'mean_word_length': 4.323432343234323, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '1418119', 'n_tokens_mistral': 482, 'n_tokens_neox': 473, 'n_words': 178}