Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
user-discovery-bot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archives
user-discovery-bot
Commits
883b1439
Commit
883b1439
authored
Aug 28, 2019
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Code cleanup
parent
ceb2ca4a
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
storage/mapBackend.go
+1
-1
1 addition, 1 deletion
storage/mapBackend.go
udb/register_test.go
+0
-3
0 additions, 3 deletions
udb/register_test.go
udb/search_test.go
+1
-3
1 addition, 3 deletions
udb/search_test.go
with
2 additions
and
7 deletions
storage/mapBackend.go
+
1
−
1
View file @
883b1439
This diff is collapsed.
Click to expand it.
udb/register_test.go
+
0
−
3
View file @
883b1439
...
...
@@ -143,7 +143,6 @@ func TestInvalidRegistrationCommands(t *testing.T) {
"REGISTER EMAIL garbage this is a garbage"
,
"REGISTER EMAIL rick@elixxir 8oKh7TYG4KxQcBAymoXPBHSD/uga9pX3Mn/jKh"
+
"vcD8M="
,
}
msg
:=
NewMessage
(
msgs
[
0
],
cmixproto
.
Type_UDB_PUSH_KEY
)
...
...
@@ -183,8 +182,6 @@ func TestRegister_InvalidGetKeyArgument(t *testing.T) {
pubKeyBits
:=
"S8KXBczy0jins9uS4LgBPt0bkFl8t00MnZmExQ6GcOcu8O7DKgAsNzLU7a"
+
"+gMTbIsS995IL/kuFF8wcBaQJBY23095PMSQ/nMuetzhk9HdXxrGIiKBo3C/n4SClpq4H+PoF9XziEVKua8JxGM2o83KiCK3tNUpaZbAAElkjueY7wuD96h4oaA+WV5Nh87cnIZ+fAG0uLve2LSHZ0FBZb3glOpNAOv7PFWkvN2BO37ztOQCXTJe72Y5ReoYn7nWVNxGUh0ilal+BRuJt1GZ7whOGDRE0IXfURIoK2yjyAnyZJWWMhfGsL5S6iL4aXUs03mc8BHKRq3HRjvTE10l3YFA=="
fingerprint
:=
"8oKh7TYG4KxQcBAymoXPBHSD/uga9pX3Mn/jKhvcD8M="
msgs
:=
[]
string
{
"myKeyId "
+
pubKeyBits
,
...
...
This diff is collapsed.
Click to expand it.
udb/search_test.go
+
1
−
3
View file @
883b1439
...
...
@@ -26,7 +26,6 @@ func TestSearchHappyPath(t *testing.T) {
sl
.
Hear
(
msg
,
false
)
}
func
TestSearch_InvalidArgs
(
t
*
testing
.
T
)
{
// Load a user
TestRegisterHappyPath
(
t
)
...
...
@@ -45,7 +44,6 @@ func TestSearch_InvalidArgs(t *testing.T) {
msg
=
NewMessage
(
msgs
[
1
],
cmixproto
.
Type_UDB_SEARCH
)
sl
.
Hear
(
msg
,
false
)
}
// Test invalid search type
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment