Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpille committed Jun 23, 2023
1 parent 02efd88 commit ba28c0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/utils/utils.v
Original file line number Diff line number Diff line change
Expand Up @@ -285,15 +285,15 @@ pub fn ensure_error_message(job &ActionJob, expected_error string) ! {

pub fn rmb_response_system_version(twin_id u32) RmbResponse {
return RmbResponse {
cmd: "zos.system.version"
ref: "zos.system.version"
dat: "doesn't really matter"
src: "${twin_id}"
}
}

pub fn rmb_response_public_config(twin_id u32) RmbResponse {
return RmbResponse {
cmd: "zos.network.public_config_get"
ref: "zos.network.public_config_get"
dat: "doesn't really matter"
src: "${twin_id}"
}
Expand All @@ -306,7 +306,7 @@ pub fn rmb_response_statistics(twin_id u32, used ZosResources, sys ZosResources,
total: total
}
return RmbResponse {
cmd: "zos.statistics.get"
ref: "zos.statistics.get"
dat: base64.encode_str(json.encode(stats))
src: "${twin_id}"
}
Expand All @@ -315,7 +315,7 @@ pub fn rmb_response_statistics(twin_id u32, used ZosResources, sys ZosResources,
pub fn rmb_response_storage_pools(twin_id u32) RmbResponse {
pools := []ZosPool{ }
return RmbResponse {
cmd: "zos.storage.pools"
ref: "zos.storage.pools"
dat: base64.encode_str(json.encode(pools))
src: "${twin_id}"
}
Expand Down

0 comments on commit ba28c0e

Please sign in to comment.