Skip to content

Commit 6edfa3f

Browse files
committed
Test factory for BlogCollection
1 parent 1276f7c commit 6edfa3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test-mslscustomcolumn.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ function test_th() {
1414
Functions\expect( 'get_the_ID' )->twice()->andReturnValues( [ 1, 2 ] );
1515
Functions\when( 'plugin_dir_path' )->justReturn( dirname( __DIR__, 1 ) . '/' );
1616

17-
$options = \Mockery::mock( MslsOptions::class );
18-
$obj = new MslsCustomColumn( $options, $this->getBlogsCollection() );
19-
17+
$options = \Mockery::mock( MslsOptions::class );
18+
$obj = new MslsCustomColumn( $options, $this->getBlogsCollection() );
2019
$expected = [ 'mslscol' => '<span class="flag-icon flag-icon-de">de_DE</span>&nbsp;<span class="flag-icon flag-icon-us">en_US</span>' ];
20+
2121
$this->assertEquals( $expected, $obj->th( [] ) );
2222
}
2323

0 commit comments

Comments
 (0)