Skip to content

Commit 1762a4b

Browse files
committed
using memory store for tests
1 parent 2a13c04 commit 1762a4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/api_tests.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ async fn spawn_server(auth_enabled: bool) -> (String, String) {
99
config.host = "127.0.0.1".to_string();
1010
config.port = 0; // Random port
1111
config.auth_enabled = auth_enabled;
12-
12+
config.use_memory_store = true; // Use memory store for tests (no IPFS dependency)
13+
1314
// Set a secret for auth tests
1415
let jwt_secret = "test-secret-123".to_string();
1516
config.jwt_secret = Some(jwt_secret.clone());

0 commit comments

Comments
 (0)