From 0283c3a4647cffd68de80aa04cd7618bc235a264 Mon Sep 17 00:00:00 2001 From: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:47:25 +0300 Subject: [PATCH] fix(cargo-shuttle): secrets project requires a Secrets.toml (#1250) --- cargo-shuttle/tests/integration/run.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cargo-shuttle/tests/integration/run.rs b/cargo-shuttle/tests/integration/run.rs index e1760f523..ebd57f4ee 100644 --- a/cargo-shuttle/tests/integration/run.rs +++ b/cargo-shuttle/tests/integration/run.rs @@ -20,6 +20,12 @@ async fn rocket_hello_world() { #[tokio::test(flavor = "multi_thread")] async fn rocket_secrets() { + std::fs::copy( + "../examples/rocket/secrets/Secrets.toml.example", + "../examples/rocket/secrets/Secrets.toml", + ) + .unwrap(); + let url = cargo_shuttle_run("../examples/rocket/secrets", false).await; let request_text = reqwest::Client::new()