Skip to content

Commit

Permalink
Merge pull request #256 from lloc/fix/get_icon_type
Browse files Browse the repository at this point in the history
Fix tests - missing get_icon_type expectation
  • Loading branch information
lloc authored Dec 1, 2023
2 parents 1e476ea + 9b5f7fb commit a81614d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test-mslsadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public function get_sut( $users = [] ) {
$options = \Mockery::mock( MslsOptions::class );
$options->shouldReceive( 'is_empty' )->andReturns( false );
$options->shouldReceive( 'get_available_languages' )->andReturns( [ 'de_DE', 'it_IT' ] );
$options->shouldReceive( 'get_icon_type' )->andReturns( 'flag' );

$blog = \Mockery::mock( MslsBlog::class );
$blog->shouldReceive( 'get_title' )->andReturns( 'abc (DEF)' );
Expand Down

0 comments on commit a81614d

Please sign in to comment.