Skip to content

Commit 8afc71a

Browse files
committed
33307: Fixed expects for method
1 parent 7550d4a commit 8afc71a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dev/tests/unit/Magento/FunctionalTestFramework/Util/GenerationErrorHandlerTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ class GenerationErrorHandlerTest extends MagentoTestCase
2323
public function testGetDistinctErrors()
2424
{
2525
$this->createMock(MftfApplicationConfig::class)
26-
->expects($this->once())
2726
->method('getPhase')
2827
->willReturn(MftfApplicationConfig::GENERATION_PHASE);
2928

@@ -81,7 +80,6 @@ public function testGetDistinctErrors()
8180
public function testGetErrorsWithSameKey()
8281
{
8382
$this->createMock(MftfApplicationConfig::class)
84-
->expects($this->once())
8583
->method('getPhase')
8684
->willReturn(MftfApplicationConfig::GENERATION_PHASE);
8785

@@ -165,7 +163,6 @@ public function testGetErrorsWithSameKey()
165163
public function testGetAllErrorsDuplicate()
166164
{
167165
$this->createMock(MftfApplicationConfig::class)
168-
->expects($this->once())
169166
->method('getPhase')
170167
->willReturn(MftfApplicationConfig::GENERATION_PHASE);
171168

@@ -336,7 +333,6 @@ public function getAllErrorMessagesDataProvider()
336333
public function testResetError()
337334
{
338335
$this->createMock(MftfApplicationConfig::class)
339-
->expects($this->once())
340336
->method('getPhase')
341337
->willReturn(MftfApplicationConfig::GENERATION_PHASE);
342338

0 commit comments

Comments
 (0)