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