Add groups to lesson tests
This commit is contained in:
parent
acaabb14ca
commit
2b2a9facea
|
@ -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';
|
||||||
|
|
|
@ -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'];
|
||||||
|
|
Loading…
Reference in a new issue