Skip to content

Commit c70a1b9

Browse files
committed
Tests enhanced
1 parent 89dabb5 commit c70a1b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TestMslsOptionsQueryAuthor.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ protected function setUp(): void {
1414
$this->test = new MslsOptionsQueryAuthor();
1515
}
1616

17-
function test_has_value_method() {
17+
public function test_has_value_method(): void {
1818
$this->assertIsBool( $this->test->has_value( 'de_DE' ) );
1919
}
2020

21-
function test_get_current_link_method() {
21+
public function test_get_current_link_method(): void {
2222
Functions\expect( 'get_author_posts_url' )->once()->andReturn( 'https://example.org/queried-author' );
2323

2424
$this->assertEquals( 'https://example.org/queried-author', $this->test->get_current_link() );

0 commit comments

Comments
 (0)