Skip to content

Commit a625dbf

Browse files
author
paul.mcnally
committed
Iops client tests - fix invalid $id
1 parent d032760 commit a625dbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/eCloud/IopsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ public function get_iops_by_id()
7777
$handler = HandlerStack::create($mock);
7878
$guzzle = new Guzzle(['handler' => $handler]);
7979

80-
$id = 1;
80+
$id = '22891f55-cd6b-11e9-89fb-005056a64a16';
8181

8282
$client = new \UKFast\SDK\eCloud\Client($guzzle);
8383
$iopsRecord = $client->iops()->getById($id);
8484

8585
$this->assertTrue($iopsRecord instanceof \UKFast\SDK\eCloud\Entities\Iops);
86-
$this->assertEquals('22891f55-cd6b-11e9-89fb-005056a64a16', $iopsRecord->id);
86+
$this->assertEquals($id, $iopsRecord->id);
8787
$this->assertEquals('Gold', $iopsRecord->name);
8888
$this->assertEquals(1500, $iopsRecord->limit);
8989
}

0 commit comments

Comments
 (0)