function test_create() { $profile =& df_get_record('Profiles', array('id' => 10)); $ht = new Dataface_HistoryTool(); $ht->createHistoryTable($profile->_table->tablename); $this->assertTrue(xf_db_num_rows(xf_db_query("show tables like '" . $ht->logTableName($profile->_table->tablename) . "'")) > 0); }