Issue #2955690 by mpdonadio: Move Common tests in system.module to BTB
parent
ac703dca0e
commit
bc07d425c8
|
@ -1,15 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\system\Tests\Common;
|
||||
namespace Drupal\Tests\system\Functional\Common;
|
||||
|
||||
use Drupal\simpletest\WebTestBase;
|
||||
use Drupal\Tests\BrowserTestBase;
|
||||
|
||||
/**
|
||||
* Tests alteration of arguments passed to \Drupal::moduleHandler->alter().
|
||||
*
|
||||
* @group Common
|
||||
*/
|
||||
class AlterTest extends WebTestBase {
|
||||
class AlterTest extends BrowserTestBase {
|
||||
|
||||
/**
|
||||
* Modules to enable.
|
|
@ -1,16 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\system\Tests\Common;
|
||||
namespace Drupal\Tests\system\Functional\Common;
|
||||
|
||||
use Drupal\Core\Url;
|
||||
use Drupal\simpletest\WebTestBase;
|
||||
use Drupal\Tests\BrowserTestBase;
|
||||
|
||||
/**
|
||||
* Verifies that bubbleable metadata of early rendering is not lost.
|
||||
*
|
||||
* @group Common
|
||||
*/
|
||||
class EarlyRenderingControllerTest extends WebTestBase {
|
||||
class EarlyRenderingControllerTest extends BrowserTestBase {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\system\Tests\Common;
|
||||
namespace Drupal\Tests\system\Functional\Common;
|
||||
|
||||
use Drupal\simpletest\WebTestBase;
|
||||
use Drupal\node\NodeInterface;
|
||||
use Drupal\Tests\BrowserTestBase;
|
||||
|
||||
/**
|
||||
* Tests that anonymous users are not served any JavaScript in the Standard
|
||||
|
@ -11,7 +11,7 @@ use Drupal\node\NodeInterface;
|
|||
*
|
||||
* @group Common
|
||||
*/
|
||||
class NoJavaScriptAnonymousTest extends WebTestBase {
|
||||
class NoJavaScriptAnonymousTest extends BrowserTestBase {
|
||||
|
||||
protected $profile = 'standard';
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\system\Tests\Common;
|
||||
namespace Drupal\Tests\system\Functional\Common;
|
||||
|
||||
use Drupal\Component\Utility\UrlHelper;
|
||||
use Drupal\Core\Cache\Cache;
|
||||
use Drupal\Core\Language\Language;
|
||||
use Drupal\Core\Render\RenderContext;
|
||||
use Drupal\Core\Url;
|
||||
use Drupal\simpletest\WebTestBase;
|
||||
use Drupal\Tests\BrowserTestBase;
|
||||
|
||||
/**
|
||||
* Confirm that \Drupal\Core\Url,
|
||||
|
@ -18,7 +18,7 @@ use Drupal\simpletest\WebTestBase;
|
|||
*
|
||||
* @group Common
|
||||
*/
|
||||
class UrlTest extends WebTestBase {
|
||||
class UrlTest extends BrowserTestBase {
|
||||
|
||||
public static $modules = ['common_test', 'url_alter_test'];
|
||||
|
Loading…
Reference in New Issue