Issue #2864121 by Lendude, GoZ, dawehner: Convert web tests to browser tests for statistics module
							parent
							
								
									581f959250
								
							
						
					
					
						commit
						1815dfddf8
					
				| 
						 | 
				
			
			@ -1,15 +1,18 @@
 | 
			
		|||
<?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.
 | 
			
		||||
| 
						 | 
				
			
			@ -1,8 +1,8 @@
 | 
			
		|||
<?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 @@ use Drupal\node\Entity\Node;
 | 
			
		|||
 *
 | 
			
		||||
 * @group statistics
 | 
			
		||||
 */
 | 
			
		||||
class StatisticsLoggingTest extends WebTestBase {
 | 
			
		||||
class StatisticsLoggingTest extends BrowserTestBase {
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Modules to enable.
 | 
			
		||||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\statistics\Tests;
 | 
			
		||||
namespace Drupal\Tests\statistics\Functional;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Cache\Cache;
 | 
			
		||||
use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait;
 | 
			
		||||
		Loading…
	
		Reference in New Issue