Skip to content

Commit

Permalink
Fix tests - missing get_icon_type expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
lloc committed Dec 1, 2023
1 parent 1e476ea commit 9b5f7fb
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 9b5f7fb

Please sign in to comment.