Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function testLiveDevDisable() |
||
26 | { |
||
27 | $response = $this->getPsr7JsonResponseForFixture('Endpoints/Environments/disableLiveDev.json'); |
||
28 | $client = $this->getMockClient($response); |
||
29 | |||
30 | /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */ |
||
31 | $environment = new Environments($client); |
||
32 | $result = $environment->disableLiveDev('14-0c7e79ab-1c4a-424e-8446-76ae8be7e851'); |
||
33 | |||
34 | $this->assertInstanceOf('\AcquiaCloudApi\Response\OperationResponse', $result); |
||
35 | |||
36 | $this->assertEquals('Live Dev is being disabled.', $result->message); |
||
37 | } |
||
39 |