fixing tests.
This commit is contained in:
parent
5fc8554028
commit
7e0205b538
|
@ -81,6 +81,7 @@ func (suite *RepositoryGraphTestSuite) TestGetFlattenedResourceGraph() {
|
||||||
ID: uuid.New(),
|
ID: uuid.New(),
|
||||||
},
|
},
|
||||||
UserID: userModel.ID,
|
UserID: userModel.ID,
|
||||||
|
Patient: uuid.New().String(),
|
||||||
PlatformType: sourcePkg.PlatformTypeManual,
|
PlatformType: sourcePkg.PlatformTypeManual,
|
||||||
}
|
}
|
||||||
err = dbRepo.CreateSource(authContext, &testSourceCredential)
|
err = dbRepo.CreateSource(authContext, &testSourceCredential)
|
||||||
|
@ -148,6 +149,7 @@ func (suite *RepositoryGraphTestSuite) TestGetFlattenedResourceGraph_NDJson() {
|
||||||
ID: uuid.New(),
|
ID: uuid.New(),
|
||||||
},
|
},
|
||||||
UserID: userModel.ID,
|
UserID: userModel.ID,
|
||||||
|
Patient: uuid.New().String(),
|
||||||
PlatformType: sourcePkg.PlatformTypeManual,
|
PlatformType: sourcePkg.PlatformTypeManual,
|
||||||
}
|
}
|
||||||
err = dbRepo.CreateSource(authContext, &testSourceCredential)
|
err = dbRepo.CreateSource(authContext, &testSourceCredential)
|
||||||
|
|
Loading…
Reference in New Issue