Skip to content

Commit 4b45fe7

Browse files
committed
Updated unit test
1 parent a5595d6 commit 4b45fe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/Compute/v2/ServiceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ public function test_it_gets_hypervisor_statistics()
144144
public function test_it_lists_hypervisors()
145145
{
146146
$this->client
147-
->request('GET', 'os-hypervisors', ['query' => ['limit' => 2], 'headers' => []])
147+
->request('GET', 'os-hypervisors', ['headers' => []])
148148
->shouldBeCalled()
149149
->willReturn($this->getFixture('hypervisors-get'));
150150

151-
foreach ($this->service->listHypervisors(false, ['limit' => 2]) as $hypervisor) {
151+
foreach ($this->service->listHypervisors(false) as $hypervisor) {
152152
$this->assertInstanceOf(Hypervisor::class, $hypervisor);
153153
}
154154
}

0 commit comments

Comments
 (0)