TitleFieldTests.php in Title Field for Manage Display 8.2
File
src/Tests/TitleFieldTests.php
View source
<?php
namespace Drupal\title_field_for_manage_display\Tests;
use Drupal\Tests\BrowserTestBase;
class TitleFieldTests extends BrowserTestBase {
protected $profile = 'standard';
public static $modules = array(
'title_field_for_manage_display',
);
protected $adminUser;
protected function setUp() {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'access administration pages',
'create page content',
]);
}
function testTitle() {
$this
->drupalLogin($this->adminUser);
$this
->drupalGet("user");
}
}