We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d032760 commit a625dbfCopy full SHA for a625dbf
tests/eCloud/IopsTest.php
@@ -77,13 +77,13 @@ public function get_iops_by_id()
77
$handler = HandlerStack::create($mock);
78
$guzzle = new Guzzle(['handler' => $handler]);
79
80
- $id = 1;
+ $id = '22891f55-cd6b-11e9-89fb-005056a64a16';
81
82
$client = new \UKFast\SDK\eCloud\Client($guzzle);
83
$iopsRecord = $client->iops()->getById($id);
84
85
$this->assertTrue($iopsRecord instanceof \UKFast\SDK\eCloud\Entities\Iops);
86
- $this->assertEquals('22891f55-cd6b-11e9-89fb-005056a64a16', $iopsRecord->id);
+ $this->assertEquals($id, $iopsRecord->id);
87
$this->assertEquals('Gold', $iopsRecord->name);
88
$this->assertEquals(1500, $iopsRecord->limit);
89
}
0 commit comments