upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/login.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/login.rs b/tests/login.rs
index 9da2a0e..4cc2dbe 100644
--- a/tests/login.rs
+++ b/tests/login.rs
@@ -3,7 +3,7 @@ use git::GitTestRepo;
3use serial_test::serial; 3use serial_test::serial;
4use test_utils::*; 4use test_utils::*;
5 5
6static EXPECTED_NSEC_PROMPT: &str = "login with bunker uri / nsec"; 6static EXPECTED_NSEC_PROMPT: &str = "login with nostr address / nsec";
7static EXPECTED_LOCAL_REPOSITORY_PROMPT: &str = "just for this repository?"; 7static EXPECTED_LOCAL_REPOSITORY_PROMPT: &str = "just for this repository?";
8static EXPECTED_REQUIRE_PASSWORD_PROMPT: &str = "require password?"; 8static EXPECTED_REQUIRE_PASSWORD_PROMPT: &str = "require password?";
9static EXPECTED_SET_PASSWORD_PROMPT: &str = "encrypt with password"; 9static EXPECTED_SET_PASSWORD_PROMPT: &str = "encrypt with password";
@@ -909,7 +909,8 @@ mod with_offline_flag {
909 909
910 #[test] 910 #[test]
911 fn prompts_for_nsec_until_valid() -> Result<()> { 911 fn prompts_for_nsec_until_valid() -> Result<()> {
912 let invalid_nsec_response = "invalid. try again with nostr address / nsec"; 912 let invalid_nsec_response =
913 "invalid. try again with nostr address / bunker uri / nsec";
913 914
914 let test_repo = GitTestRepo::default(); 915 let test_repo = GitTestRepo::default();
915 let mut p = CliTester::new_from_dir(&test_repo.dir, ["login", "--offline"]); 916 let mut p = CliTester::new_from_dir(&test_repo.dir, ["login", "--offline"]);