Fix test for LicensedArticle serialization
This commit is contained in:
parent
53512a6167
commit
05f4c186f4
@ -698,7 +698,11 @@ mod tests {
|
||||
);
|
||||
let expected = json!({
|
||||
"type": "Article",
|
||||
"license": "CC-0"
|
||||
"license": "CC-0",
|
||||
"source": {
|
||||
"content": "content",
|
||||
"mediaType": "text/plain"
|
||||
}
|
||||
});
|
||||
assert_json_eq!(to_value(licensed_article).unwrap(), expected);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user