You are here

public function ViewsXmlBackendTestBase::setUp in Views XML Backend 8

Overrides UnitTestCase::setUp

1 call to ViewsXmlBackendTestBase::setUp()
XmlTest::setUp in tests/src/Unit/Plugin/views/query/XmlTest.php
1 method overrides ViewsXmlBackendTestBase::setUp()
XmlTest::setUp in tests/src/Unit/Plugin/views/query/XmlTest.php

File

tests/src/Unit/ViewsXmlBackendTestBase.php, line 25
Contains \Drupal\Tests\views_xml_backend\Unit\ViewsXmlBackendTestBase.

Class

ViewsXmlBackendTestBase
Base testing class.

Namespace

Drupal\Tests\views_xml_backend\Unit

Code

public function setUp() {
  parent::setUp();
  if (!defined('REQUEST_TIME')) {
    define('REQUEST_TIME', time());
  }
  require_once dirname(dirname(dirname(__DIR__))) . '/views_xml_backend.module';
}