From 2b2a9facea148a6ba606546a64ce605f42a227ee Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 15 Jan 2024 10:29:12 +0000 Subject: [PATCH] Add groups to lesson tests --- .../custom/example/tests/src/Functional/BlogPageTest.php | 3 +++ .../custom/example/tests/src/Kernel/PostNodeRepositoryTest.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/web/modules/custom/example/tests/src/Functional/BlogPageTest.php b/web/modules/custom/example/tests/src/Functional/BlogPageTest.php index c2875f3..3d45b92 100644 --- a/web/modules/custom/example/tests/src/Functional/BlogPageTest.php +++ b/web/modules/custom/example/tests/src/Functional/BlogPageTest.php @@ -5,6 +5,9 @@ namespace Drupal\Tests\example\Functional; use Drupal\Tests\BrowserTestBase; use Symfony\Component\HttpFoundation\Response; +/** + * @group lessons + */ class BlogPageTest extends BrowserTestBase { protected $defaultTheme = 'stark'; diff --git a/web/modules/custom/example/tests/src/Kernel/PostNodeRepositoryTest.php b/web/modules/custom/example/tests/src/Kernel/PostNodeRepositoryTest.php index d3c3dc6..8e3349d 100644 --- a/web/modules/custom/example/tests/src/Kernel/PostNodeRepositoryTest.php +++ b/web/modules/custom/example/tests/src/Kernel/PostNodeRepositoryTest.php @@ -7,6 +7,9 @@ use Drupal\example\Repository\PostNodeRepository; use Drupal\KernelTests\Core\Entity\EntityKernelTestBase; use Drupal\node\NodeInterface; +/** + * @group lessons + */ class PostNodeRepositoryTest extends EntityKernelTestBase { protected static $modules = ['node', 'example'];