Skip to content

Commit

Permalink
fix use of the command in CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
MSghais committed Jul 25, 2024
1 parent a1a38b5 commit ce3c24c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@ edition = "2018"

[dependencies]
askeladd = { path = "../crates/core" }
nostr-sdk = "0.32.0"
nostr-sdk = "0.33.0"
tokio = { version = "1", default-features = false }

[[test]]
name = "e2e_test"
path = "tests/src/e2e_test.rs"
4 changes: 2 additions & 2 deletions tests/src/e2e_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

#[cfg(test)]
mod tests {
mod e2e_test {
use askeladd::config::Settings;
use askeladd::types::{FibonnacciProvingRequest, FibonnacciProvingResponse};
use nostr_sdk::prelude::*;
use std::time::Duration;
#[tokio::test]
async fn test_e2e_flow() {
async fn e2e_test() {
let settings = Settings::new().expect("Failed to load settings");

let secret_key = SecretKey::from_bech32(&settings.user_bech32_sk).unwrap();
Expand Down

0 comments on commit ce3c24c

Please sign in to comment.