diff --git a/tests/test-mslsadmin.php b/tests/test-mslsadmin.php index 47ec188c..15d12174 100644 --- a/tests/test-mslsadmin.php +++ b/tests/test-mslsadmin.php @@ -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)' );