diff --git a/ud/store/facts_test.go b/ud/store/facts_test.go index edb141e9798ad268b164f85d5da0e98228adde51..7cdac5fd81667f6da119a0ce2fc6333bd8eef895 100644 --- a/ud/store/facts_test.go +++ b/ud/store/facts_test.go @@ -297,12 +297,12 @@ func TestStore_GetFacts(t *testing.T) { T: fact.Phone, } - err = testStore.BackUpMissingFacts(username, emptyFact, phoneFact) + err = testStore.BackUpMissingFacts(emptyFact, emptyFact, phoneFact) if err != nil { t.Fatalf("Faild to add fact %v: %v", phoneFact, err) } - expectedFacts := []fact.Fact{emailFact, phoneFact} + expectedFacts := []fact.Fact{username, emailFact, phoneFact} receivedFacts := testStore.GetFacts()