We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e18692 + cc85360 commit ce90e0bCopy full SHA for ce90e0b
tests/TestMslsCustomColumn.php
@@ -10,7 +10,7 @@
10
11
class TestMslsCustomColumn extends MslsUnitTestCase {
12
13
- function test_th() {
+ public function test_th(): void {
14
Functions\expect( 'add_query_arg' )->twice()->andReturn( 'https://example.org/added-args' );
15
Functions\expect( 'get_the_ID' )->twice()->andReturnValues( [ 1, 2 ] );
16
Functions\when( 'plugin_dir_path' )->justReturn( dirname( __DIR__, 1 ) . '/' );
@@ -38,7 +38,7 @@ function test_th() {
38
$this->assertEquals( $expected, $obj->th( [] ) );
39
}
40
41
- function test_th_empty() {
+ public function test_th_empty(): void {
42
$options = \Mockery::mock( MslsOptions::class );
43
44
$collection = \Mockery::mock( MslsBlogCollection::class );
0 commit comments