File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/bundle/SystemInfo/Collector Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,25 +64,25 @@ public function testCollect(): void
6464 $ this ->dbalConnectionMock
6565 ->expects (self ::once ())
6666 ->method ('getDatabasePlatform ' )
67- ->will ( self :: returnValue ( $ this ->dbalPlatformMock ) );
67+ ->willReturn ( $ this ->dbalPlatformMock );
6868
6969 $ this ->dbalPlatformMock
7070 ->expects (self ::once ())
7171 ->method ('getName ' )
72- ->will ( self :: returnValue ( $ expected ->type ) );
72+ ->willReturn ( $ expected ->type );
7373
7474 $ this ->dbalConnectionMock
7575 ->expects (self ::once ())
7676 ->method ('getDatabase ' )
77- ->will ( self :: returnValue ( $ expected ->name ) );
77+ ->willReturn ( $ expected ->name );
7878
7979 $ this ->dbalConnectionMock
8080 ->expects (self ::once ())
8181 ->method ('getParams ' )
8282 ->willReturn ([
8383 'host ' => $ expected ->host ,
8484 'user ' => $ expected ->username ,
85- ])) ;
85+ ]);
8686
8787 $ this ->metricsProviderMock
8888 ->expects (self ::exactly (5 ))
You can’t perform that action at this time.
0 commit comments