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

Fix test

parent 06c14271
No related branches found
No related tags found
2 merge requests!510Release,!337Hotfix/store username ud
...@@ -297,12 +297,12 @@ func TestStore_GetFacts(t *testing.T) { ...@@ -297,12 +297,12 @@ func TestStore_GetFacts(t *testing.T) {
T: fact.Phone, T: fact.Phone,
} }
err = testStore.BackUpMissingFacts(username, emptyFact, phoneFact) err = testStore.BackUpMissingFacts(emptyFact, emptyFact, phoneFact)
if err != nil { if err != nil {
t.Fatalf("Faild to add fact %v: %v", phoneFact, err) t.Fatalf("Faild to add fact %v: %v", phoneFact, err)
} }
expectedFacts := []fact.Fact{emailFact, phoneFact} expectedFacts := []fact.Fact{username, emailFact, phoneFact}
receivedFacts := testStore.GetFacts() receivedFacts := testStore.GetFacts()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment