diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-05-28 22:47:46 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-05-28 22:47:46 +0200 |
commit | b1c8cd2d91f611bc5432e9ec3451196b9465d26b (patch) | |
tree | 6a83ba7c51e23ca30cb10ea890d28f22c7f800a7 | |
parent | 60f63250aac298b036b1887e18f9db76afdc6f66 (diff) | |
download | refcat-b1c8cd2d91f611bc5432e9ec3451196b9465d26b.tar.gz refcat-b1c8cd2d91f611bc5432e9ec3451196b9465d26b.zip |
schema: fix test
-rw-r--r-- | skate/schema_test.go | 8 |
1 files 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, }, |