From b1c8cd2d91f611bc5432e9ec3451196b9465d26b Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 28 May 2021 22:47:46 +0200 Subject: schema: fix test --- skate/schema_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/skate/schema_test.go b/skate/schema_test.go index ecc46c6..5bc1acc 100644 --- a/skate/schema_test.go +++ b/skate/schema_test.go @@ -109,11 +109,15 @@ func TestOpenLibraryToRelease(t *testing.T) { } `json:"rg,omitempty"` } `json:"skate,omitempty"` OpenLibrary struct { - HasFulltext bool `json:"has_fulltext,omitempty"` + HasFulltext bool `json:"has_fulltext,omitempty"` + WorkID string `json:"work,omitempty"` + SourceRecords []string `json:"source_records,omitempty"` } `json:"ol,omitempty"` }{ OpenLibrary: struct { - HasFulltext bool `json:"has_fulltext,omitempty"` + HasFulltext bool `json:"has_fulltext,omitempty"` + WorkID string `json:"work,omitempty"` + SourceRecords []string `json:"source_records,omitempty"` }{ HasFulltext: false, }, -- cgit v1.2.3