Request more fields to increase coverage

This commit is contained in:
Brian Beck 2016-12-07 15:10:03 -08:00
parent d5067159f9
commit 31fecabfda
7 changed files with 23 additions and 16 deletions

View file

@ -1,22 +1,22 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 07 Dec 2016 14:11:09 GMT",
"date": "Wed, 07 Dec 2016 23:09:35 GMT",
"content-type": "application/json; charset=UTF-8",
"transfer-encoding": "chunked",
"connection": "keep-alive",
"keep-alive": "timeout=15",
"vary": "Accept-Encoding",
"x-ratelimit-limit": "700",
"x-ratelimit-remaining": "623",
"x-ratelimit-reset": "1481119871",
"x-ratelimit-remaining": "361",
"x-ratelimit-reset": "1481152175",
"last-modified": "Wed, 09 Nov 2016 23:43:24 GMT",
"server": "Jetty(9.3.10.v20160621)",
"access-control-allow-origin": "*",
"content-encoding": "gzip"
},
"url": "http://musicbrainz.org:80/ws/2/recording?query=Burn%20the%20Witch&fmt=json",
"time": 435,
"time": 744,
"request": {
"method": "GET",
"headers": {

Binary file not shown.

View file

@ -1,26 +1,26 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 07 Dec 2016 07:23:58 GMT",
"date": "Wed, 07 Dec 2016 23:09:34 GMT",
"content-type": "application/json; charset=utf-8",
"transfer-encoding": "chunked",
"connection": "keep-alive",
"keep-alive": "timeout=15",
"vary": "Accept-Encoding",
"x-ratelimit-limit": "700",
"x-ratelimit-remaining": "493",
"x-ratelimit-reset": "1481095439",
"x-ratelimit-remaining": "596",
"x-ratelimit-reset": "1481152175",
"server": "Plack::Handler::Starlet",
"etag": "W/\"4401734fbc36b86339b05ac714ef9b07\"",
"etag": "W/\"70e9c6b355083588be1b5abb2e76e291\"",
"access-control-allow-origin": "*",
"content-encoding": "gzip"
},
"url": "http://musicbrainz.org:80/ws/2/artist/c8da2e40-bd28-4d4e-813a-bd2f51958ba8?fmt=json",
"time": 402,
"time": 361,
"request": {
"method": "GET",
"headers": {
"User-Agent": "graphbrainz/3.0.1 ( https://github.com/exogen/graphbrainz )",
"User-Agent": "graphbrainz/3.1.0 ( https://github.com/exogen/graphbrainz )",
"host": "musicbrainz.org",
"accept-encoding": "gzip, deflate",
"accept": "application/json"

Binary file not shown.

View file

@ -1,22 +1,22 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 07 Dec 2016 14:15:04 GMT",
"date": "Wed, 07 Dec 2016 23:09:35 GMT",
"content-type": "application/json; charset=utf-8",
"transfer-encoding": "chunked",
"connection": "keep-alive",
"keep-alive": "timeout=15",
"vary": "Accept-Encoding",
"x-ratelimit-limit": "700",
"x-ratelimit-remaining": "559",
"x-ratelimit-reset": "1481120105",
"x-ratelimit-remaining": "154",
"x-ratelimit-reset": "1481152175",
"server": "Plack::Handler::Starlet",
"etag": "W/\"0f2ce1fbd4358ed2ee61c9e461538573\"",
"etag": "W/\"141f49e0130d012e9f5ffc328bc55045\"",
"access-control-allow-origin": "*",
"content-encoding": "gzip"
},
"url": "http://musicbrainz.org:80/ws/2/release-group?artist=c8da2e40-bd28-4d4e-813a-bd2f51958ba8&fmt=json",
"time": 390,
"url": "http://musicbrainz.org:80/ws/2/release-group?artist=c8da2e40-bd28-4d4e-813a-bd2f51958ba8&inc=artist-credits&fmt=json",
"time": 379,
"request": {
"method": "GET",
"headers": {

Binary file not shown.

View file

@ -76,6 +76,13 @@ test('schema has a browse query', t => {
node {
mbid
title
artistCredit {
artist {
mbid
}
name
joinPhrase
}
}
}
}