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:
Oliver Davies 2020-03-19 21:21:19 +00:00
parent 145b2d8e94
commit e3c57ea103

View file

@ -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();