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.
1 parent 1276f7c commit 6edfa3fCopy full SHA for 6edfa3f
tests/test-mslscustomcolumn.php
@@ -14,10 +14,10 @@ function test_th() {
14
Functions\expect( 'get_the_ID' )->twice()->andReturnValues( [ 1, 2 ] );
15
Functions\when( 'plugin_dir_path' )->justReturn( dirname( __DIR__, 1 ) . '/' );
16
17
- $options = \Mockery::mock( MslsOptions::class );
18
- $obj = new MslsCustomColumn( $options, $this->getBlogsCollection() );
19
-
+ $options = \Mockery::mock( MslsOptions::class );
+ $obj = new MslsCustomColumn( $options, $this->getBlogsCollection() );
20
$expected = [ 'mslscol' => '<span class="flag-icon flag-icon-de">de_DE</span> <span class="flag-icon flag-icon-us">en_US</span>' ];
+
21
$this->assertEquals( $expected, $obj->th( [] ) );
22
}
23
0 commit comments