File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
dev/tests/integration/testsuite/Magento/Setup/Model Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -35,24 +35,8 @@ protected function setUp()
35
35
public function testGet ()
36
36
{
37
37
$ 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 ));
41
38
$ objectManager = $ this ->object ->get ();
42
39
$ this ->assertInstanceOf ('Magento\Framework\ObjectManagerInterface ' , $ objectManager );
43
40
$ this ->assertSame ($ objectManager , $ this ->object ->get ());
44
41
}
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
- }
58
42
}
You can’t perform that action at this time.
0 commit comments