cli: Set a working EDITOR env var in tests

Previously, commands would just fail. Now it runs the `true` command
that always returns success.
This commit is contained in:
Alexis Sellier
2023-05-12 11:09:21 +02:00
parent ff9903bf96
commit f8ee109aaa
+1
View File
@@ -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")