4g: Install filter config
Install the configuration from the filter module, so that there are filters created and to avoid the `id() on bool` error. This fails are there is a missing database table.
This commit is contained in:
parent
145b2d8e94
commit
e3c57ea103
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,14 @@ class ArticleRepositoryTest extends EntityKernelTestBase {
|
|||
'my_module',
|
||||
];
|
||||
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
||||
$this->installConfig([
|
||||
'filter',
|
||||
]);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function nodes_that_are_not_articles_are_not_returned() {
|
||||
$this->createNode(['type' => 'article'])->save();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue