You are here

function EntityFieldQueryViewsQueryTagsTest::testQueryTags in EntityFieldQuery Views Backend 8

File

src/Tests/EntityFieldQueryViewsQueryTagsTest.php, line 31
Tests for EntityFieldQuery Views query features.

Class

EntityFieldQueryViewsQueryTagsTest
Class EntityFieldQueryViewsQueryTagsTest

Namespace

Drupal\efq_views\Tests

Code

function testQueryTags() {
  global $efq_test_query;
  $this
    ->runView();

  // The query is present in the global variable when the query tag
  // was inserted correctly.
  // @see efq_views_test_query_test_query_tag_alter().
  $this
    ->assertNotNull($efq_test_query, 'The query must be present in the global variable');
}