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-10 14:58:16 +02:00
parent ff9903bf96
commit f8ee109aaa
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

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")