Fix blog tag re-ordering test

Add a NullPostPusher implementation and use it within the tag
re-ordering tests to stop an Exception being thrown because there's no
webhook URL.

References #332
This commit is contained in:
Oliver Davies 2021-01-01 23:04:28 +00:00
parent d7459ff30f
commit 87ee87f915
4 changed files with 22 additions and 1 deletions

View file

@ -30,8 +30,8 @@ final class ReorderBlogTagsTest extends EntityKernelTestBase {
'core_event_dispatcher',
// Custom.
'opdavies_blog_test',
'opdavies_blog',
'opdavies_blog_test',
];
/** @test */
@ -67,6 +67,8 @@ final class ReorderBlogTagsTest extends EntityKernelTestBase {
'opdavies_blog_test',
]);
$this->installSchema('node', ['node_access']);
$this->installEntitySchema('taxonomy_vocabulary');
$this->installEntitySchema('taxonomy_term');
}