Skip to content

Commit 9f2106e

Browse files
committed
fix tests
1 parent b46e514 commit 9f2106e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test-sender.php

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

8-
public function setUp() {
9-
parent::setUp();
8+
public function set_up() {
9+
parent::set_up();
1010

1111
// Erstelle einen Test-Beitrag
1212
$this->post = self::factory()->post->create_and_get( array(
@@ -93,8 +93,8 @@ 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() {
97-
parent::tearDown();
96+
public function tear_down() {
97+
parent::tear_down();
9898
remove_all_filters( 'webmention_server_url' );
9999
remove_all_filters( 'pre_http_request' );
100100
}

0 commit comments

Comments
 (0)