Skip to content
Snippets Groups Projects
Commit 476f2b7f authored by colemanw's avatar colemanw
Browse files

test cleanup

parent 44248b7e
No related branches found
No related tags found
No related merge requests found
......@@ -92,12 +92,12 @@ class api_v3_WebsiteTest extends CiviUnitTestCase {
$this->assertEquals(1, $checkDeleted['count'], 'In line ' . __LINE__);
}
/**
* Test retrieval of label metadata
* Test retrieval of metadata
*/
public function testGetMetadata() {
$result = $this->callAPIAndDocument($this->_entity, 'get', array(
'options' => array('metadata' => array('fields')
)), __FUNCTION__, __FILE__, 'Demonostrates returning label metadata', 'GetWithLabelMetadata');
)), __FUNCTION__, __FILE__, 'Demonostrates returning field metadata', 'GetWithMetadata');
$this->assertEquals('Website', $result['metadata']['fields']['url']['title']);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment