TrackerLegacyTest.php in Drupal 8
File
core/modules/tracker/tests/src/Kernel/TrackerLegacyTest.php
View source
<?php
namespace Drupal\Tests\tracker\Kernel;
use Drupal\KernelTests\KernelTestBase;
class TrackerLegacyTest extends KernelTestBase {
public static $modules = [
'comment',
'tracker',
'history',
'node',
'node_test',
'user',
];
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('node');
$this
->installSchema('node', 'node_access');
$this
->installSchema('tracker', 'tracker_node');
$this
->installSchema('tracker', 'tracker_user');
}
public function testDeprecatedTrackerPage() {
module_load_include('inc', 'tracker', 'tracker.pages');
$this
->assertNotEmpty(tracker_page());
}
}