GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Student/JimMartinson/Lab12/drupal/core/modules/user/src/Tests/Views/ |
Upload File : |
<?php namespace Drupal\user\Tests\Views; use Drupal\views\Tests\ViewTestBase; use Drupal\views\Tests\ViewTestData; use Drupal\user\Entity\User; /** * @todo. */ abstract class UserTestBase extends ViewTestBase { /** * Modules to enable. * * @var array */ public static $modules = ['user_test_views', 'node']; /** * Users to use during this test. * * @var array */ protected $users = []; /** * Nodes to use during this test. * * @var array */ protected $nodes = []; protected function setUp() { parent::setUp(); ViewTestData::createTestViews(get_class($this), ['user_test_views']); $this->users[] = $this->drupalCreateUser(); $this->users[] = User::load(1); $this->nodes[] = $this->drupalCreateNode(['uid' => $this->users[0]->id()]); $this->nodes[] = $this->drupalCreateNode(['uid' => 1]); } }