From 9b5f7fb15e4e46a86c8a86311717faf23a4684d1 Mon Sep 17 00:00:00 2001 From: Dennis Ploetner Date: Fri, 1 Dec 2023 18:12:59 +0100 Subject: [PATCH] Fix tests - missing get_icon_type expectation --- tests/test-mslsadmin.php | 1 + 1 file changed, 1 insertion(+) 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)' );