Skip to content

Commit ee7b055

Browse files
committed
Fixing tests
1 parent f8ee7ce commit ee7b055

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +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-
$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);
35+
$this->assertEquals('146', $this->hypervisor->freeDiskGb);
36+
$this->assertEquals('76917', $this->hypervisor->freeRamMb);
37+
$this->assertEquals('localhost.localdomain', $this->hypervisor->hypervisorHostname);
38+
$this->assertEquals('QEMU', $this->hypervisor->hypervisorType);
39+
$this->assertEquals('2006000', $this->hypervisor->hypervisorVersion);
40+
$this->assertEquals('266', $this->hypervisor->localGb);
41+
$this->assertEquals('120', $this->hypervisor->localGbUsed);
42+
$this->assertEquals('97909', $this->hypervisor->memoryMb);
43+
$this->assertEquals('20992', $this->hypervisor->memoryMbUsed);
44+
$this->assertEquals('4', $this->hypervisor->runningVms);
4545
$this->assertEquals('56', $this->hypervisor->vcpus);
46-
$this->assertEquals('10', $this->hypervisor->vcpus_used);
46+
$this->assertEquals('10', $this->hypervisor->vcpusUsed);
4747
$this->assertEquals(['host' => 'localhost.localdomain', 'id' => '8', 'disabled_reason' => null], $this->hypervisor->service);
4848
}
4949
}

0 commit comments

Comments
 (0)