Skip to content

Commit b46e514

Browse files
committed
fix test
1 parent 21a469c commit b46e514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test-sender.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class Test_Sender extends WP_UnitTestCase {
66
private $post;
77

8-
public function setUp(): void {
8+
public function setUp() {
99
parent::setUp();
1010

1111
// Erstelle einen Test-Beitrag
@@ -93,7 +93,7 @@ public function test_send_webmentions_with_error_response() {
9393
$this->assertEquals( '1', get_post_meta( $this->post->ID, '_mentionme_tries', true ) );
9494
}
9595

96-
public function tearDown(): void {
96+
public function tearDown() {
9797
parent::tearDown();
9898
remove_all_filters( 'webmention_server_url' );
9999
remove_all_filters( 'pre_http_request' );

0 commit comments

Comments
 (0)