Add groups to lesson tests

This commit is contained in:
Oliver Davies 2024-01-15 10:29:12 +00:00
parent acaabb14ca
commit 2b2a9facea
2 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,9 @@ namespace Drupal\Tests\example\Functional;
use Drupal\Tests\BrowserTestBase; use Drupal\Tests\BrowserTestBase;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
/**
* @group lessons
*/
class BlogPageTest extends BrowserTestBase { class BlogPageTest extends BrowserTestBase {
protected $defaultTheme = 'stark'; protected $defaultTheme = 'stark';

View file

@ -7,6 +7,9 @@ use Drupal\example\Repository\PostNodeRepository;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase; use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
use Drupal\node\NodeInterface; use Drupal\node\NodeInterface;
/**
* @group lessons
*/
class PostNodeRepositoryTest extends EntityKernelTestBase { class PostNodeRepositoryTest extends EntityKernelTestBase {
protected static $modules = ['node', 'example']; protected static $modules = ['node', 'example'];