@@ -32,19 +32,18 @@ public function test_it_retrieves()
32
32
$ this ->assertEquals ('1 ' , $ this ->hypervisor ->id );
33
33
$ this ->assertEquals ('enabled ' , $ this ->hypervisor ->status );
34
34
$ 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 );
46
45
$ this ->assertEquals ('56 ' , $ this ->hypervisor ->vcpus );
47
- $ this ->assertEquals ('10 ' , $ this ->hypervisor ->vcpusUsed );
46
+ $ this ->assertEquals ('10 ' , $ this ->hypervisor ->vcpus_used );
48
47
$ this ->assertEquals (['host ' => 'localhost.localdomain ' , 'id ' => '8 ' , 'disabled_reason ' => null ], $ this ->hypervisor ->service );
49
48
}
50
49
}
0 commit comments