MCPcopy Index your code
hub / github.com/endbasic/endbasic / add_mock_signup

Method add_mock_signup

client/src/testutils.rs:61–63  ·  view source on GitHub ↗
(&mut self, request: SignupRequest, result: io::Result<()>)

Source from the content-addressed store, hash-verified

59 /// `result`.
60 #[cfg(test)]
61 pub(crate) fn add_mock_signup(&mut self, request: SignupRequest, result: io::Result<()>) {
62 self.mock_signup.push_back((request, result));
63 }
64
65 /// Records the behavior of an upcoming login operation with `username` and `password`
66 /// credentials and that returns `result`.

Callers 4

test_signup_okFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected