Issue #2955690 by mpdonadio: Move Common tests in system.module to BTB

merge-requests/1654/head
Alex Pott 2018-04-02 15:47:17 +02:00
parent ac703dca0e
commit bc07d425c8
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
4 changed files with 12 additions and 12 deletions

View File

@ -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.

View File

@ -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}

View File

@ -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';

View File

@ -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'];