You are here

public function FeatureContext::thereAreArticleNodesWithAHugeNumberOfTaxonomyTermsEach in Pantheon Advanced Page Cache 8

@Given there are :numnber_of_nodes article nodes with a huge number of taxonomy terms each

File

tests/behat/helper_classes/Contexts/FeatureContext.php, line 145

Class

FeatureContext
Define application features from the specific context.

Namespace

PantheonSystems\CDNBehatHelpers\Contexts

Code

public function thereAreArticleNodesWithAHugeNumberOfTaxonomyTermsEach($number_of_nodes) {
  $i = 0;
  while ($i < $number_of_nodes) {
    $this
      ->whenIGenerateAnArticleWithLotsOfTerms();
    $i++;
  }
}