From f8ee109aaaa2c82f29b8b71c8ec5f9d52658a51c Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Wed, 10 May 2023 14:58:16 +0200 Subject: [PATCH] cli: Set a working `EDITOR` env var in tests Previously, commands would just fail. Now it runs the `true` command that always returns success. --- radicle-cli/tests/commands.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/radicle-cli/tests/commands.rs b/radicle-cli/tests/commands.rs index 33e3ae8f..d53b15e4 100644 --- a/radicle-cli/tests/commands.rs +++ b/radicle-cli/tests/commands.rs @@ -46,6 +46,7 @@ fn test<'a>( .env("RAD_HOME", home.to_string_lossy()) .env("RAD_PASSPHRASE", "radicle") .env("RAD_SEED", RAD_SEED) + .env("EDITOR", "true") .env("TZ", "UTC") .env("LANG", "C") .env(radicle_cob::git::RAD_COMMIT_TIME, "1671125284")