oliverdavies.uk/web/modules/custom/blog/src/Service/PostPusher/NullPostPusher.php
Oliver Davies 87ee87f915 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
2021-01-01 23:08:23 +00:00

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 {}
}