File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Customer/Test/Unit/ViewModel/Customer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,13 @@ protected function setUp(): void
56
56
$ storeMock1 = $ this ->createPartialMock (Store::class, ['getId ' ]);
57
57
$ storeMock2 = $ this ->createPartialMock (Store::class, ['getId ' ]);
58
58
59
- $ websiteMock1 ->method ('getId ' )->willReturn (1 );
59
+ $ storeMock1 ->method ('getId ' )->willReturn ('1 ' );
60
+ $ websiteMock1 ->method ('getId ' )->willReturn ('1 ' );
60
61
$ websiteMock1 ->method ('getDefaultStore ' )->willReturn ($ storeMock1 );
61
- $ storeMock1 ->method ('getId ' )->willReturn (1 );
62
62
63
- $ websiteMock2 ->method ('getId ' )->willReturn (2 );
63
+ $ storeMock2 ->method ('getId ' )->willReturn ('2 ' );
64
+ $ websiteMock2 ->method ('getId ' )->willReturn ('2 ' );
64
65
$ websiteMock2 ->method ('getDefaultStore ' )->willReturn ($ storeMock2 );
65
- $ storeMock2 ->method ('getId ' )->willReturn (2 );
66
66
67
67
$ this ->systemStore ->method ('getWebsiteCollection ' )->willReturn ([$ websiteMock1 , $ websiteMock2 ]);
68
68
}
You can’t perform that action at this time.
0 commit comments