Skip to content
Snippets Groups Projects
Unverified Commit 7ed859f2 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3533030 by catch, mondrake: Move QuickStart tests to build tests

parent 2a3b0288
No related branches found
No related tags found
No related merge requests found
Pipeline #541666 passed with warnings
Pipeline: drupal

#541670

    ......@@ -2,14 +2,18 @@
    declare(strict_types=1);
    namespace Drupal\Tests\Core\Command;
    namespace Drupal\BuildTests\QuickStart;
    use Drupal\sqlite\Driver\Database\sqlite\Install\Tasks;
    use Drupal\BuildTests\Framework\BuildTestBase;
    use Drupal\Core\Test\TestDatabase;
    use Drupal\Tests\BrowserTestBase;
    use GuzzleHttp\Client;
    use GuzzleHttp\Cookie\CookieJar;
    use PHPUnit\Framework\TestCase;
    use PHPUnit\Framework\Attributes\Group;
    use PHPUnit\Framework\Attributes\PreserveGlobalState;
    use PHPUnit\Framework\Attributes\RequiresPhpExtension;
    use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
    use Symfony\Component\Process\PhpExecutableFinder;
    use Symfony\Component\Process\Process;
    ......@@ -18,15 +22,12 @@
    *
    * These tests are run in a separate process because they load Drupal code via
    * an include.
    *
    * @runTestsInSeparateProcesses
    * @preserveGlobalState disabled
    * @requires extension pdo_sqlite
    *
    * @group Command
    * @group #slow
    */
    class QuickStartTest extends TestCase {
    #[Group('Command')]
    #[PreserveGlobalState(FALSE)]
    #[RequiresPhpExtension('pdo_sqlite')]
    #[RunTestsInSeparateProcesses]
    class QuickStartTest extends BuildTestBase {
    /**
    * The PHP executable path.
    ......
    ......@@ -2,14 +2,18 @@
    declare(strict_types=1);
    namespace Drupal\Tests\Core\Recipe;
    namespace Drupal\BuildTests\QuickStart;
    use Drupal\sqlite\Driver\Database\sqlite\Install\Tasks;
    use Drupal\BuildTests\Framework\BuildTestBase;
    use Drupal\Core\Test\TestDatabase;
    use Drupal\Tests\BrowserTestBase;
    use GuzzleHttp\Client;
    use GuzzleHttp\Cookie\CookieJar;
    use PHPUnit\Framework\TestCase;
    use PHPUnit\Framework\Attributes\Group;
    use PHPUnit\Framework\Attributes\PreserveGlobalState;
    use PHPUnit\Framework\Attributes\RequiresPhpExtension;
    use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
    use Symfony\Component\Process\PhpExecutableFinder;
    use Symfony\Component\Process\Process;
    ......@@ -18,16 +22,13 @@
    *
    * These tests are run in a separate process because they load Drupal code via
    * an include.
    *
    * @runTestsInSeparateProcesses
    * @preserveGlobalState disabled
    * @requires extension pdo_sqlite
    *
    * @group Command
    * @group Recipe
    * @group #slow
    */
    class RecipeQuickStartTest extends TestCase {
    #[Group('Command')]
    #[Group('Recipe')]
    #[PreserveGlobalState(FALSE)]
    #[RequiresPhpExtension('pdo_sqlite')]
    #[RunTestsInSeparateProcesses]
    class RecipeQuickStartTest extends BuildTestBase {
    /**
    * The PHP executable path.
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment