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
13 lines
228 B
PHP
13 lines
228 B
PHP
<?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 {}
|
|
|
|
}
|