cuprate_test_utils::rpc::data::other

Constant UPDATE_RESPONSE

Source
pub const UPDATE_RESPONSE: &str = r#"{
  "auto_uri": "",
  "hash": "",
  "path": "",
  "status": "OK",
  "untrusted": false,
  "update": false,
  "user_uri": "",
  "version": ""
}"#;
Expand description

Documentation, request.

use cuprate_test_utils::rpc::data::other::*;
use serde_json::{to_value, Value};

let value = serde_json::from_str::<Value>(&UPDATE_RESPONSE);