File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
lib/internal/Magento/Framework/Amqp/Test/Unit Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 77 "require" : {
88 "php" : " ~8.1.0||~8.2.0" ,
99 "magento/framework" : " *" ,
10+ "magento/framework-amqp" : " *" ,
1011 "magento/module-backend" : " *"
1112 },
1213 "type" : " magento2-module" ,
Original file line number Diff line number Diff line change @@ -36,7 +36,10 @@ protected function setUp(): void
3636 public function testGetConnection ()
3737 {
3838 $ config = $ this ->createMock (Config::class);
39- $ this ->factory ->expects ($ this ->once ())->method ('create ' )->with (['connectionName ' => 'amqp ' ])->willReturn ($ config );
39+ $ this ->factory ->expects ($ this ->once ())
40+ ->method ('create ' )
41+ ->with (['connectionName ' => 'amqp ' ])
42+ ->willReturn ($ config );
4043 $ this ->assertEquals ($ config , $ this ->model ->get ('amqp ' ));
4144 //test that object is cached
4245 $ this ->assertEquals ($ config , $ this ->model ->get ('amqp ' ));
You can’t perform that action at this time.
0 commit comments