diff --git a/quickstart/2-hosted-services/Cargo.toml b/quickstart/2-hosted-services/Cargo.toml index 2f1906a..db8742b 100644 --- a/quickstart/2-hosted-services/Cargo.toml +++ b/quickstart/2-hosted-services/Cargo.toml @@ -11,7 +11,7 @@ name = "hello_world" path = "src/main.rs" [dependencies] -marine-rs-sdk = "0.6.10" +marine-rs-sdk = "0.6.11" [dev-dependencies] -marine-rs-sdk-test = "0.1.9" \ No newline at end of file +marine-rs-sdk-test = "0.2.0" diff --git a/quickstart/2-hosted-services/src/main.rs b/quickstart/2-hosted-services/src/main.rs index 1bc1c73..c18685b 100644 --- a/quickstart/2-hosted-services/src/main.rs +++ b/quickstart/2-hosted-services/src/main.rs @@ -40,13 +40,13 @@ mod tests { use marine_rs_sdk_test::marine_test; #[marine_test(config_path = "../configs/Config.toml", modules_dir = "../artifacts")] - fn non_empty_string() { + fn non_empty_string(hello_world: marine_test_env::hello_world::ModuleInterface) { let actual = hello_world.hello("SuperNode".to_string()); assert_eq!(actual.msg, "Hello from: \nSuperNode".to_string()); } #[marine_test(config_path = "../configs/Config.toml", modules_dir = "../artifacts")] - fn empty_string() { + fn empty_string(hello_world: marine_test_env::hello_world::ModuleInterface) { let actual = hello_world.hello("".to_string()); assert_eq!(actual.msg, "Hello from: \n"); }