Client texts name Lanna Desk, not B4L
CI / secret scan (push) Successful in 8s
CI / fmt, clippy, tests (push) Successful in 43s
CI / release (push) Skipped

Lanna Desk is the legal side of buildfor.life (B4L), and the client link,
its agreements, the demo agreement and the messages now name Lanna Desk:
"Lanna Desk looks after your visa ...", "Send to Lanna Desk", "Lanna
Desk keeps the signed copy". B4L stays where it is the company itself:
the employer in the Non-B pack and its BOI application.

README and PLAN say the same.

Checks: fmt, clippy, 109 unit and 57 integration tests.
This commit is contained in:
grabowski committed 2026-11-21 22:49:21 +07:00
1 parent 3d2d8fa30b
commit 424f212b23
15 files changed
+44 -43

No files matched your search

+3 -3
View File
@@ -11,7 +11,7 @@ use crate::common::{App, Resp, assert_unique_ids, local};
/// A 1 x 1 PNG, as the signature pad would send it.
const DRAWING: &str = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==";
const TEXT: &str = "# 1. What B4L keeps\nYour name and passport.\n\n- name\n- passport";
const TEXT: &str = "# 1. What Lanna Desk keeps\nYour name and passport.\n\n- name\n- passport";
async fn client_post(
app: &App,
@@ -63,7 +63,7 @@ async fn staff_publish_versions_that_never_change(pool: PgPool) {
.await;
assert_eq!(r.status, StatusCode::OK);
assert!(
r.text().contains("<h3>1. What B4L keeps</h3>"),
r.text().contains("<h3>1. What Lanna Desk keeps</h3>"),
"{}",
r.body
);
@@ -183,7 +183,7 @@ async fn the_client_signs_and_signs_again_after_a_change(pool: PgPool) {
assert_eq!(r.status, StatusCode::OK);
assert_unique_ids(&r.body, &uri);
let t = r.text();
assert!(t.contains("<h3>1. What B4L keeps</h3>"));
assert!(t.contains("<h3>1. What Lanna Desk keeps</h3>"));
assert!(t.contains("value=\"Hans Becker\""), "{t}");
assert!(t.contains("/static/signature.js"));