aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-28 22:47:46 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-28 22:47:46 +0200
commitb1c8cd2d91f611bc5432e9ec3451196b9465d26b (patch)
tree6a83ba7c51e23ca30cb10ea890d28f22c7f800a7
parent60f63250aac298b036b1887e18f9db76afdc6f66 (diff)
downloadrefcat-b1c8cd2d91f611bc5432e9ec3451196b9465d26b.tar.gz
refcat-b1c8cd2d91f611bc5432e9ec3451196b9465d26b.zip
schema: fix test
-rw-r--r--skate/schema_test.go8
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,
},