feat(server-rs): 接入真实短信验证码链路
This commit is contained in:
@@ -1291,7 +1291,10 @@ mod tests {
|
||||
payload["expiresInSeconds"],
|
||||
Value::Number(serde_json::Number::from(300))
|
||||
);
|
||||
assert_eq!(payload["providerRequestId"], Value::Null);
|
||||
assert_eq!(
|
||||
payload["providerRequestId"],
|
||||
Value::String("mock-request-id".to_string())
|
||||
);
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
||||
Reference in New Issue
Block a user