From 738ba6c3b62f68a0b569ac2d521b842dfe330fdf Mon Sep 17 00:00:00 2001 From: Farhan Khan Date: Wed, 29 Sep 2021 03:39:35 +0000 Subject: [PATCH] Updating testing code --- fedilogue/fedilogue_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fedilogue/fedilogue_test.go b/fedilogue/fedilogue_test.go index f31e96c..8d64861 100644 --- a/fedilogue/fedilogue_test.go +++ b/fedilogue/fedilogue_test.go @@ -1,6 +1,7 @@ package main import ( + "gitlab.com/khanzf/fedilogue/shared" "strconv" "testing" "time" @@ -29,8 +30,8 @@ func TestStatusReport_full_content(t *testing.T) { endpoint = "endpoint" + strconv.Itoa(identifier) + ".test.com" a.client = BuildClient(endpoint) a.Status = test_status - a.recentactivities = newUniqueFifo(10) - a.recentactors = newUniqueFifo(10) + a.recentactivities = shared.NewUniqueFifo(10) + a.recentactors = shared.NewUniqueFifo(10) a.Software = test_instance_type a.Version = "0." + strconv.Itoa(identifier) a.LastRun = time.Now().Format(time.RFC3339)