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 7
7
"require" : {
8
8
"php" : " ~8.1.0||~8.2.0" ,
9
9
"magento/framework" : " *" ,
10
+ "magento/framework-amqp" : " *" ,
10
11
"magento/module-backend" : " *"
11
12
},
12
13
"type" : " magento2-module" ,
Original file line number Diff line number Diff line change @@ -36,7 +36,10 @@ protected function setUp(): void
36
36
public function testGetConnection ()
37
37
{
38
38
$ 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 );
40
43
$ this ->assertEquals ($ config , $ this ->model ->get ('amqp ' ));
41
44
//test that object is cached
42
45
$ this ->assertEquals ($ config , $ this ->model ->get ('amqp ' ));
You can’t perform that action at this time.
0 commit comments