From 7e0205b538b8656e47758f4e7c017ed740cec028 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Wed, 17 Jan 2024 17:45:28 -0800 Subject: [PATCH] fixing tests. --- backend/pkg/database/gorm_repository_graph_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/pkg/database/gorm_repository_graph_test.go b/backend/pkg/database/gorm_repository_graph_test.go index 37f9feca..c933b570 100644 --- a/backend/pkg/database/gorm_repository_graph_test.go +++ b/backend/pkg/database/gorm_repository_graph_test.go @@ -81,6 +81,7 @@ func (suite *RepositoryGraphTestSuite) TestGetFlattenedResourceGraph() { ID: uuid.New(), }, UserID: userModel.ID, + Patient: uuid.New().String(), PlatformType: sourcePkg.PlatformTypeManual, } err = dbRepo.CreateSource(authContext, &testSourceCredential) @@ -148,6 +149,7 @@ func (suite *RepositoryGraphTestSuite) TestGetFlattenedResourceGraph_NDJson() { ID: uuid.New(), }, UserID: userModel.ID, + Patient: uuid.New().String(), PlatformType: sourcePkg.PlatformTypeManual, } err = dbRepo.CreateSource(authContext, &testSourceCredential)