public function ContextConditionContextEntityTaxonomyFieldTest::setUp in Context entity field 7
Create required data to run tests.
Overrides ContextConditionContextEntityFieldTest::setUp
File
- tests/
context_entity_field.test, line 250 - Test context condition.
Class
- ContextConditionContextEntityTaxonomyFieldTest
- Test context contition using taxonomy field.
Code
public function setUp() {
parent::setUp();
$this
->createTerms();
$this
->createNodes();
$this
->createContexts();
}