Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ test_context
Function
test_context
plugins/lsps-plugin/src/core/router.rs:209–213 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
207
}
208
209
fn test_context() -> RequestContext {
210
RequestContext {
211
peer_id: test_peer_id(),
212
}
213
}
214
215
#[tokio::test]
216
async fn dispatches_to_registered_handler_and_returns_success() {
Callers
6
dispatches_to_registered_handler_and_returns_success
Function · 0.70
returns_none_for_notification
Function · 0.70
unknown_method_returns_method_not_found
Function · 0.70
invalid_json_returns_parse_error_with_null_id
Function · 0.70
wrong_jsonrpc_version_returns_invalid_request
Function · 0.70
bad_params_return_invalid_params_error
Function · 0.70
Calls
1
test_peer_id
Function · 0.70
Tested by
no test coverage detected