public
|
#
testNoBodyException( )
Expectedexception
GeoIp2\Exception\GeoIp2Exception
Expectedexceptionmessage
Received a 200 response for GeoIP2 Country but did not receive a HTTP body.
|
public
|
#
testBadBodyException( )
Expectedexception
GeoIp2\Exception\GeoIp2Exception
Expectedexceptionmessage
Received a 200 response for GeoIP2 Country but could not decode the response as JSON:
|
public
|
#
testNoErrorBodyIPException( )
Expectedexception
GeoIp2\Exception\HttpException
Expectedexceptioncode
400
Expectedexceptionmessage
with no body
|
public
|
#
testWeirdErrorBodyIPException( )
Expectedexception
GeoIp2\Exception\GeoIp2Exception
Expectedexceptionmessage
Error response contains JSON but it does not specify code or error keys: {"weird":42}
|
public
|
#
testInvalidErrorBodyIPException( )
Expectedexception
GeoIp2\Exception\HttpException
Expectedexceptioncode
400
Expectedexceptionmessage
Received a 400 error for GeoIP2 Country but could not decode the response as JSON: Syntax error. Body: { invalid: }
|