reflect method cant set private properties
bradfordcondon opened this issue · comments
/**
* @group obo
* @group chado
* @ticket 680
*/
public function testLoadStanza() {
module_load_include('inc', 'tripal_chado', 'includes/TripalImporter/OBOImporter');
$importer_private = new \OBOImporter();
$importer = reflect($importer_private);
$type = "term";
$stanza = ['id' => ["PECO:0007085"]];
$importer->default_namespace = 'trait_ontology';
$importer->default_db = 'TO';
$importer->cacheTermStanza($stanza, $type);
}
i wrote this test, but default_name
is set to the default ("") still. We suspect the reflect
class isnt properly reflecting properties.