Skip to content

Commit

Permalink
fix(cargo-shuttle): secrets project requires a Secrets.toml (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianbarbu authored Sep 18, 2023
1 parent 97077ae commit 0283c3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cargo-shuttle/tests/integration/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0283c3a

Please sign in to comment.