diff --git a/tests/fixtures/dummy/all.go b/tests/fixtures/dummy/all.go index ffffd353..0001046f 100644 --- a/tests/fixtures/dummy/all.go +++ b/tests/fixtures/dummy/all.go @@ -385,7 +385,7 @@ func GenerateDynamicDummyData(db *gorm.DB) DummyData { ExternalId: "dummy/logistics-db", Type: "Database", Status: types.ComponentStatusUnhealthy, - StatusReason: "database not accepting connections", + StatusReason: types.NullString{String: "database not accepting connections"}, ParentId: &LogisticsAPI.ID, Path: Logistics.ID.String() + "." + LogisticsAPI.ID.String(), CreatedAt: DummyCreatedAt, diff --git a/tests/fixtures/dummy/components.go b/tests/fixtures/dummy/components.go index 5687d46d..0db480e6 100644 --- a/tests/fixtures/dummy/components.go +++ b/tests/fixtures/dummy/components.go @@ -62,7 +62,7 @@ var LogisticsDB = models.Component{ ExternalId: "dummy/logistics-db", Type: "Database", Status: types.ComponentStatusUnhealthy, - StatusReason: "database not accepting connections", + StatusReason: types.NullString{String: "database not accepting connections"}, ParentId: &LogisticsAPI.ID, Path: Logistics.ID.String() + "." + LogisticsAPI.ID.String(), CreatedAt: DummyCreatedAt,