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:
parent
d7459ff30f
commit
87ee87f915
4 changed files with 22 additions and 1 deletions
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Drupal\opdavies_blog\Service\PostPusher;
|
||||
|
||||
use Drupal\opdavies_blog\Entity\Node\Post;
|
||||
|
||||
final class NullPostPusher implements PostPusher {
|
||||
|
||||
public function push(Post $post): void {}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue