Issue #2863268 by nlisgo, Lendude, michielnugter: Convert web tests to browser tests for tracker module
parent
b49d24312b
commit
5ed519dfa0
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Drupal\tracker\Tests;
|
namespace Drupal\Tests\tracker\Functional;
|
||||||
|
|
||||||
use Drupal\comment\CommentInterface;
|
use Drupal\comment\CommentInterface;
|
||||||
use Drupal\comment\Tests\CommentTestTrait;
|
use Drupal\comment\Tests\CommentTestTrait;
|
||||||
|
@ -9,15 +9,15 @@ use Drupal\Core\EventSubscriber\MainContentViewSubscriber;
|
||||||
use Drupal\Core\Session\AccountInterface;
|
use Drupal\Core\Session\AccountInterface;
|
||||||
use Drupal\field\Entity\FieldStorageConfig;
|
use Drupal\field\Entity\FieldStorageConfig;
|
||||||
use Drupal\node\Entity\Node;
|
use Drupal\node\Entity\Node;
|
||||||
use Drupal\simpletest\WebTestBase;
|
|
||||||
use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait;
|
use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait;
|
||||||
|
use Drupal\Tests\BrowserTestBase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create and delete nodes and check for their display in the tracker listings.
|
* Create and delete nodes and check for their display in the tracker listings.
|
||||||
*
|
*
|
||||||
* @group tracker
|
* @group tracker
|
||||||
*/
|
*/
|
||||||
class TrackerTest extends WebTestBase {
|
class TrackerTest extends BrowserTestBase {
|
||||||
|
|
||||||
use CommentTestTrait;
|
use CommentTestTrait;
|
||||||
use AssertPageCacheContextsAndTagsTrait;
|
use AssertPageCacheContextsAndTagsTrait;
|
Loading…
Reference in New Issue