You are here

private function TagadelicTaxonomyAdminWebTestCase::createVocabularies in Tagadelic 7.2

3 calls to TagadelicTaxonomyAdminWebTestCase::createVocabularies()
TagadelicTaxonomyAdminWebTestCase::testCheckboxesGetDefaults in tests/tagadelic_taxonomy.admin.test
TagadelicTaxonomyAdminWebTestCase::testHasCheckboxesForAllVocabularies in tests/tagadelic_taxonomy.admin.test
TagadelicTaxonomyAdminWebTestCase::testSelectedVocabulariesAreSaved in tests/tagadelic_taxonomy.admin.test

File

tests/tagadelic_taxonomy.admin.test, line 129

Class

TagadelicTaxonomyAdminWebTestCase

Code

private function createVocabularies($amount) {
  $tx_test = new TaxonomyWebTestCase();
  for ($i = 0; $i < $amount; $i++) {
    $this->vocabularies[] = $tx_test
      ->createVocabulary();
  }
  return $this;
}