function ABTEnviromentTestCase::envTestVocabularyCreation in Access By Term 7
1 call to ABTEnviromentTestCase::envTestVocabularyCreation()
File
- ./abt.test, line 166 
Class
Code
function envTestVocabularyCreation() {
  for ($i = 0; $i < count($this->vocabularies); $i++) {
    $loaded = taxonomy_vocabulary_load($this->vocabularies[$i]->vid);
    $this
      ->assertEqual($loaded->name, $this->vocabularies[$i]->name, t("Vocabulary %vid was created.", array(
      '%vid' => $loaded->vid,
    )));
  }
}