Skip to content

Commit 0116c5f

Browse files
committed
MAGETWO-33669: Contribution of Sprint 23 Work to Mainline
- fixing broken integration test
1 parent 560cb7a commit 0116c5f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

dev/tests/integration/testsuite/Magento/Setup/Model/ObjectManagerProviderTest.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,8 @@ protected function setUp()
3535
public function testGet()
3636
{
3737
$this->locator->expects($this->once())->method('get')->with(InitParamListener::BOOTSTRAP_PARAM)->willReturn([]);
38-
$this->deploymentConfig->expects($this->once())
39-
->method('isAvailable')
40-
->will($this->returnValue(true));
4138
$objectManager = $this->object->get();
4239
$this->assertInstanceOf('Magento\Framework\ObjectManagerInterface', $objectManager);
4340
$this->assertSame($objectManager, $this->object->get());
4441
}
45-
46-
/**
47-
* @expectedException \Magento\Setup\Exception
48-
* @expectedExceptionMessage Please, install the deployment configuration first
49-
*/
50-
public function testGetNoDeploymentConfig()
51-
{
52-
$this->deploymentConfig->expects($this->once())
53-
->method('isAvailable')
54-
->will($this->returnValue(false));
55-
$this->locator->expects($this->never())->method('get');
56-
$this->object->get();
57-
}
5842
}

0 commit comments

Comments
 (0)