Skip to content

Commit 9cd8bcf

Browse files
committed
DEVOPS-2691: Setup Integration Framework Unit Test fails
1 parent 548ef66 commit 9cd8bcf

File tree

1 file changed

+1
-14
lines changed
  • dev/tests/setup-integration/framework/tests/unit/testsuite/Magento/TestFramework/Test/Unit/Annotation

1 file changed

+1
-14
lines changed

dev/tests/setup-integration/framework/tests/unit/testsuite/Magento/TestFramework/Test/Unit/Annotation/ReinstallInstanceTest.php

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,9 @@ protected function setUp()
4545
);
4646
}
4747

48-
public function testEndTestOnReinstall()
48+
public function testEndTest()
4949
{
5050
$this->applicationMock->expects($this->once())
51-
->method('isInstalled')
52-
->willReturn(true);
53-
$this->applicationMock->expects($this->once())
54-
->method('cleanup');
55-
$this->model->endTest();
56-
}
57-
58-
public function testEndTestWithoutCleanup()
59-
{
60-
$this->applicationMock->expects($this->once())
61-
->method('isInstalled')
62-
->willReturn(false);
63-
$this->applicationMock->expects(self::at(0))
6451
->method('cleanup');
6552
$this->model->endTest();
6653
}

0 commit comments

Comments
 (0)