MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / versioned_cdc_routes_exist

Function versioned_cdc_routes_exist

nodedb/src/control/server/http/server.rs:473–483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

471
472 #[tokio::test]
473 async fn versioned_cdc_routes_exist() {
474 let r = stub_router();
475 assert_eq!(
476 status_for(&r, Method::GET, "/v1/cdc/mycoll").await,
477 StatusCode::OK,
478 );
479 assert_eq!(
480 status_for(&r, Method::GET, "/v1/cdc/mycoll/poll").await,
481 StatusCode::OK,
482 );
483 }
484}

Callers

nothing calls this directly

Calls 1

stub_routerFunction · 0.85

Tested by

no test coverage detected