function ABTEnviromentTestCase::envTestFieldCreation in Access By Term 7
1 call to ABTEnviromentTestCase::envTestFieldCreation()
File
- ./
abt.test, line 188
Class
Code
function envTestFieldCreation() {
#$this->assertEqual(count($this->fields), 3, 'flds: '.$this->fields[0]['type']);
for ($i = 0; $i < count($this->fields); $i++) {
$loaded = field_info_field($this->fields[$i]['field_name']);
$this
->assertEqual($loaded['field_name'] . $loaded['type'], $this->fields[$i]['field_name'] . $this->fields[$i]['type'], t('Field (@fname) was created.', array(
'@fname' => $loaded['field_name'] . ', ' . $loaded['type'],
)));
}
}