diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-17 10:53:20 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-17 10:53:20 +0100 |
| commit | 43a445963968dac7da190b56f7c89ac0ff1f6abd (patch) | |
| tree | 3c58f17c53de3f6ccc888323d677da12402a7891 /tests/send.rs | |
| parent | 65d5daf6e42683ef116369b4f6a0f99d6971667b (diff) | |
feat(login): use fetch to get user profile
fetch automatically gets updates to logged in user profile / relays
fetching without specifying repo pointers will just fetch user
profiles so that can be used during login, if user profile isn't
in cache
login now uses fetch
Diffstat (limited to 'tests/send.rs')
| -rw-r--r-- | tests/send.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/send.rs b/tests/send.rs index 0169c82..87bd54f 100644 --- a/tests/send.rs +++ b/tests/send.rs | |||
| @@ -133,7 +133,7 @@ fn expect_msgs_first(p: &mut CliTester, include_cover_letter: bool) -> Result<() | |||
| 133 | p.expect("creating proposal from 2 commits:\r\n")?; | 133 | p.expect("creating proposal from 2 commits:\r\n")?; |
| 134 | p.expect("fe973a8 add t4.md\r\n")?; | 134 | p.expect("fe973a8 add t4.md\r\n")?; |
| 135 | p.expect("232efb3 add t3.md\r\n")?; | 135 | p.expect("232efb3 add t3.md\r\n")?; |
| 136 | p.expect("searching for profile and relay updates...\r\n")?; | 136 | p.expect("searching for profile...\r\n")?; |
| 137 | p.expect("logged in as fred\r\n")?; | 137 | p.expect("logged in as fred\r\n")?; |
| 138 | p.expect(format!( | 138 | p.expect(format!( |
| 139 | "posting 2 patches {} a covering letter...\r\n", | 139 | "posting 2 patches {} a covering letter...\r\n", |
| @@ -1173,7 +1173,7 @@ mod when_range_ommited_prompts_for_selection_defaulting_ahead_of_main { | |||
| 1173 | p.expect("creating proposal from 2 commits:\r\n")?; | 1173 | p.expect("creating proposal from 2 commits:\r\n")?; |
| 1174 | p.expect("fe973a8 add t4.md\r\n")?; | 1174 | p.expect("fe973a8 add t4.md\r\n")?; |
| 1175 | p.expect("232efb3 add t3.md\r\n")?; | 1175 | p.expect("232efb3 add t3.md\r\n")?; |
| 1176 | p.expect("searching for profile and relay updates...\r\n")?; | 1176 | p.expect("searching for profile...\r\n")?; |
| 1177 | p.expect("logged in as fred\r\n")?; | 1177 | p.expect("logged in as fred\r\n")?; |
| 1178 | p.expect("posting 2 patches without a covering letter...\r\n")?; | 1178 | p.expect("posting 2 patches without a covering letter...\r\n")?; |
| 1179 | Ok(()) | 1179 | Ok(()) |
| @@ -1367,7 +1367,7 @@ mod root_proposal_specified_using_in_reply_to_with_range_of_head_2_and_cover_let | |||
| 1367 | p.expect("creating proposal from 2 commits:\r\n")?; | 1367 | p.expect("creating proposal from 2 commits:\r\n")?; |
| 1368 | p.expect("fe973a8 add t4.md\r\n")?; | 1368 | p.expect("fe973a8 add t4.md\r\n")?; |
| 1369 | p.expect("232efb3 add t3.md\r\n")?; | 1369 | p.expect("232efb3 add t3.md\r\n")?; |
| 1370 | p.expect("searching for profile and relay updates...\r\n")?; | 1370 | p.expect("searching for profile...\r\n")?; |
| 1371 | p.expect("logged in as fred\r\n")?; | 1371 | p.expect("logged in as fred\r\n")?; |
| 1372 | p.expect(format!( | 1372 | p.expect(format!( |
| 1373 | "posting 2 patches {} a covering letter...\r\n", | 1373 | "posting 2 patches {} a covering letter...\r\n", |