Commit 1815dfdd authored by alexpott's avatar alexpott

Issue #2864121 by Lendude, GoZ, dawehner: Convert web tests to browser tests for statistics module

parent 581f9592
<?php
namespace Drupal\statistics\Tests;
namespace Drupal\Tests\statistics\Functional;
use Drupal\simpletest\WebTestBase;
use Drupal\Tests\BrowserTestBase;
use Drupal\Tests\Traits\Core\CronRunTrait;
/**
* Tests the statistics admin.
*
* @group statistics
*/
class StatisticsAdminTest extends WebTestBase {
class StatisticsAdminTest extends BrowserTestBase {
use CronRunTrait;
/**
* Modules to enable.
......
<?php
namespace Drupal\statistics\Tests;
namespace Drupal\Tests\statistics\Functional;
use Drupal\simpletest\WebTestBase;
use Drupal\Tests\BrowserTestBase;
use Drupal\node\Entity\Node;
/**
......@@ -13,7 +13,7 @@
*
* @group statistics
*/
class StatisticsLoggingTest extends WebTestBase {
class StatisticsLoggingTest extends BrowserTestBase {
/**
* Modules to enable.
......
<?php
namespace Drupal\statistics\Tests;
namespace Drupal\Tests\statistics\Functional;
use Drupal\Core\Cache\Cache;
use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment