Hello,
I run the following in a SimpleTest test case, and don't get any results:
rdf_insert("hello","world","123");
$q=rdf_query(null,"world",null);
$ra=$q->to_array();
drupal_set_message(print_r($ra,1));
response:
Array( )
Worse still, querying for $sitename, null, null doesn't yield any results either. This is probably an environment difference between inside and outside of SimpleTest test cases, but I don't know enough about how SimpleTest sets these things up to know how to fix it.
Any suggestions?
Comments
Comment #1
mgodfrey commented... and I just answered my own question. Forgot to explicitly install the rdf module in the class's the setUp() function:
Comment #3
Arto commented