Re-add syntax highlighting to daily emails and
...ATDC lessons
This commit is contained in:
parent
0d9bb37503
commit
5fbf48d9ac
48 changed files with 186 additions and 165 deletions
|
@ -16,7 +16,7 @@ As well as different base classes for types of tests - i.e. functional, kernel a
|
|||
|
||||
For example, if we have this test:
|
||||
|
||||
```php
|
||||
```language-php
|
||||
<?php
|
||||
|
||||
namespace Drupal\Tests\example\Kernel;
|
||||
|
@ -62,7 +62,7 @@ When writing a lot of tests, this can result in duplication and more complex tes
|
|||
|
||||
This can be simplified using `EntityKernelTestBase` instead of `KernelTestBase`:
|
||||
|
||||
```php
|
||||
```language-php
|
||||
<?php
|
||||
|
||||
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue