Commit 42828511 authored by alexpott's avatar alexpott

Issue #2784677 by GoZ: Move...

Issue #2784677 by GoZ: Move core/modules/simpletest/tests/src/Functional/BrowserTestBaseTest.php to core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
parent e4f6b505
......@@ -131,7 +131,7 @@ public function testTestingThroughUI() {
// A PHPUnit unit test.
'Drupal\Tests\action\Unit\Menu\ActionLocalTasksTest',
// A PHPUnit functional test.
'Drupal\Tests\simpletest\Functional\BrowserTestBaseTest',
'Drupal\FunctionalTests\BrowserTestBaseTest',
);
foreach ($tests as $test) {
......
......@@ -60,13 +60,13 @@ public function infoParserProvider() {
$tests[] = [
// Expected result.
[
'name' => 'Drupal\Tests\simpletest\Functional\BrowserTestBaseTest',
'group' => 'simpletest',
'name' => 'Drupal\FunctionalTests\BrowserTestBaseTest',
'group' => 'browsertestbase',
'description' => 'Tests BrowserTestBase functionality.',
'type' => 'PHPUnit-Functional',
],
// Classname.
'Drupal\Tests\simpletest\Functional\BrowserTestBaseTest',
'Drupal\FunctionalTests\BrowserTestBaseTest',
];
// kernel PHPUnit test.
......@@ -400,7 +400,7 @@ public function providerTestGetPhpunitTestSuite() {
$data['simpletest-kerneltest'] = ['\Drupal\hal\Tests\FileNormalizeTest', FALSE];
$data['module-unittest'] = [static::class, 'Unit'];
$data['module-kerneltest'] = ['\Drupal\KernelTests\Core\Theme\TwigMarkupInterfaceTest', 'Kernel'];
$data['module-functionaltest'] = ['\Drupal\Tests\simpletest\Functional\BrowserTestBaseTest', 'Functional'];
$data['module-functionaltest'] = ['\Drupal\FunctionalTests\BrowserTestBaseTest', 'Functional'];
$data['module-functionaljavascripttest'] = ['\Drupal\Tests\toolbar\FunctionalJavascript\ToolbarIntegrationTest', 'FunctionalJavascript'];
$data['core-unittest'] = ['\Drupal\Tests\ComposerIntegrationTest', 'Unit'];
$data['core-unittest2'] = ['Drupal\Tests\Core\DrupalTest', 'Unit'];
......
<?php
namespace Drupal\Tests\simpletest\Functional;
namespace Drupal\FunctionalTests;
use Drupal\Core\Url;
use Drupal\Tests\BrowserTestBase;
......@@ -8,7 +8,7 @@
/**
* Tests BrowserTestBase functionality.
*
* @group simpletest
* @group browsertestbase
*/
class BrowserTestBaseTest extends BrowserTestBase {
......
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