@@ -499,12 +499,14 @@ public function testGetScssVariablesCached() {
499499 public function testGetScssVariables () {
500500 $ this ->config ->expects ($ this ->at (0 ))->method ('getAppValue ' )->with ('theming ' , 'cachebuster ' , '0 ' )->willReturn ('0 ' );
501501 $ this ->config ->expects ($ this ->at (1 ))->method ('getAppValue ' )->with ('theming ' , 'logoMime ' , false )->willReturn ('jpeg ' );
502- $ this ->config ->expects ($ this ->at (2 ))->method ('getAppValue ' )->with ('theming ' , 'cachebuster ' , ' 0 ' )->willReturn ('0 ' );
503- $ this ->config ->expects ($ this ->at (3 ))->method ('getAppValue ' )->with ('theming ' , 'backgroundMime ' , false )->willReturn ('jpeg ' );
502+ $ this ->config ->expects ($ this ->at (2 ))->method ('getAppValue ' )->with ('theming ' , 'backgroundMime ' , false )->willReturn ('jpeg ' );
503+ $ this ->config ->expects ($ this ->at (3 ))->method ('getAppValue ' )->with ('theming ' , 'logoMime ' , false )->willReturn ('jpeg ' );
504504 $ this ->config ->expects ($ this ->at (4 ))->method ('getAppValue ' )->with ('theming ' , 'cachebuster ' , '0 ' )->willReturn ('0 ' );
505- $ this ->config ->expects ($ this ->at (5 ))->method ('getAppValue ' )->with ('theming ' , 'color ' , null )->willReturn ($ this ->defaults ->getColorPrimary ());
506- $ this ->config ->expects ($ this ->at (6 ))->method ('getAppValue ' )->with ('theming ' , 'color ' , $ this ->defaults ->getColorPrimary ())->willReturn ($ this ->defaults ->getColorPrimary ());
507- $ this ->config ->expects ($ this ->at (7 ))->method ('getAppValue ' )->with ('theming ' , 'color ' , $ this ->defaults ->getColorPrimary ())->willReturn ($ this ->defaults ->getColorPrimary ());
505+ $ this ->config ->expects ($ this ->at (5 ))->method ('getAppValue ' )->with ('theming ' , 'backgroundMime ' , false )->willReturn ('jpeg ' );
506+ $ this ->config ->expects ($ this ->at (6 ))->method ('getAppValue ' )->with ('theming ' , 'cachebuster ' , '0 ' )->willReturn ('0 ' );
507+ $ this ->config ->expects ($ this ->at (7 ))->method ('getAppValue ' )->with ('theming ' , 'color ' , null )->willReturn ($ this ->defaults ->getColorPrimary ());
508+ $ this ->config ->expects ($ this ->at (8 ))->method ('getAppValue ' )->with ('theming ' , 'color ' , $ this ->defaults ->getColorPrimary ())->willReturn ($ this ->defaults ->getColorPrimary ());
509+ $ this ->config ->expects ($ this ->at (9 ))->method ('getAppValue ' )->with ('theming ' , 'color ' , $ this ->defaults ->getColorPrimary ())->willReturn ($ this ->defaults ->getColorPrimary ());
508510
509511 $ this ->util ->expects ($ this ->any ())->method ('invertTextColor ' )->with ($ this ->defaults ->getColorPrimary ())->willReturn (false );
510512 $ this ->cache ->expects ($ this ->once ())->method ('get ' )->with ('getScssVariables ' )->willReturn (null );
@@ -530,6 +532,8 @@ public function testGetScssVariables() {
530532
531533 $ expected = [
532534 'theming-cachebuster ' => '\'0 \'' ,
535+ 'theming-logo-mime ' => '\'jpeg \'' ,
536+ 'theming-background-mime ' => '\'jpeg \'' ,
533537 'image-logo ' => "'absolute-custom-logo?v=0' " ,
534538 'image-login-background ' => "'absolute-custom-background?v=0' " ,
535539 'color-primary ' => $ this ->defaults ->getColorPrimary (),
0 commit comments