From 7a01ddb2e68589eb7ee0f208d5396cf9f975ecdd Mon Sep 17 00:00:00 2001
From: joshemb <josh@elixxir.io>
Date: Mon, 22 Aug 2022 09:42:14 -0700
Subject: [PATCH] Fix test

---
 ud/store/facts_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ud/store/facts_test.go b/ud/store/facts_test.go
index edb141e97..7cdac5fd8 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()
 
-- 
GitLab