Skip to content
Snippets Groups Projects
Commit 325b3b7f authored by Josh Brooks's avatar Josh Brooks
Browse files

Code cleanup

parent 7d42a013
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,22 @@ func TestSearch_InvalidArgs(t *testing.T) {
}
func TestSearch_InvalidArgs_Email(t *testing.T) {
// Load a user
TestRegisterHappyPath(t)
// NOTE: This is kind of hard, since we can't see the response and search
// does not modify data we can check
// TODO: Monkeypatch send so we can verify? -- this is tested in integration,
// so.. low priority.
msgs := []string{
"NotEMAIL rick@elixxir.io",
}
msg := NewMessage(msgs[0], cmixproto.Type_UDB_SEARCH)
sl.Hear(msg, false)
}
// Test invalid search type
func TestSearch_Invalid_Type(t *testing.T) {
defer func() {}()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment