Skip to content

Commit f8ee7ce

Browse files
committed
Merge remote-tracking branch 'upstream/master' into nex-various
2 parents 7d91731 + f1bf63e commit f8ee7ce

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

tests/unit/Compute/v2/Models/HypervisorTest.php

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,18 @@ public function test_it_retrieves()
3232
$this->assertEquals('1', $this->hypervisor->id);
3333
$this->assertEquals('enabled', $this->hypervisor->status);
3434
$this->assertEquals('up', $this->hypervisor->state);
35-
36-
$this->assertEquals('146', $this->hypervisor->freeDiskGb);
37-
$this->assertEquals('76917', $this->hypervisor->freeRamMb);
38-
$this->assertEquals('localhost.localdomain', $this->hypervisor->hypervisorHostname);
39-
$this->assertEquals('QEMU', $this->hypervisor->hypervisorType);
40-
$this->assertEquals('2006000', $this->hypervisor->hypervisorVersion);
41-
$this->assertEquals('266', $this->hypervisor->localGb);
42-
$this->assertEquals('120', $this->hypervisor->localGbUsed);
43-
$this->assertEquals('97909', $this->hypervisor->memoryMb);
44-
$this->assertEquals('20992', $this->hypervisor->memoryMbUsed);
45-
$this->assertEquals('4', $this->hypervisor->runningVms);
35+
$this->assertEquals('146', $this->hypervisor->free_disk_gb);
36+
$this->assertEquals('76917', $this->hypervisor->free_ram_mb);
37+
$this->assertEquals('localhost.localdomain', $this->hypervisor->hypervisor_hostname);
38+
$this->assertEquals('QEMU', $this->hypervisor->hypervisor_type);
39+
$this->assertEquals('2006000', $this->hypervisor->hypervisor_version);
40+
$this->assertEquals('266', $this->hypervisor->local_gb);
41+
$this->assertEquals('120', $this->hypervisor->local_gb_used);
42+
$this->assertEquals('97909', $this->hypervisor->memory_mb);
43+
$this->assertEquals('20992', $this->hypervisor->memory_mb_used);
44+
$this->assertEquals('4', $this->hypervisor->running_vms);
4645
$this->assertEquals('56', $this->hypervisor->vcpus);
47-
$this->assertEquals('10', $this->hypervisor->vcpusUsed);
46+
$this->assertEquals('10', $this->hypervisor->vcpus_used);
4847
$this->assertEquals(['host' => 'localhost.localdomain', 'id' => '8', 'disabled_reason' => null], $this->hypervisor->service);
4948
}
5049
}

0 commit comments

Comments
 (0)