protected static property Ip2CountryResourceTest::$format in IP-based Determination of a Visitor's Country 8
The format to use in this test.
A format is the combination of a certain normalizer and a certain serializer.
(The default is 'json' because that doesn't depend on any module.)
Type: string
Overrides ResourceTestBase::$format
See also
https://www.drupal.org/developing/api/8/serialization
File
- tests/
src/ Functional/ Ip2CountryResourceTest.php, line 26
Class
- Ip2CountryResourceTest
- Tests the Ip2Country REST resource.
Namespace
Drupal\Tests\ip2country\FunctionalCode
protected static $format = 'hal_json';