/home/techb158/ileadtechnology.com/vendor/mashape/unirest-php/tests/Unirest
NameSizeModeActions
BodyTest.php21930644editdlrm
RequestTest.php170330644editdlrm
ResponseTest.php9480644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/mashape/unirest-php/tests/Unirest/ResponseTest.php (948B)
assertEquals($response->body['a'], 1); } public function testJSONAObjects() { $opts = Request::jsonOpts(false); $response = new Response(200, '{"a":1,"b":2,"c":3,"d":4,"e":5}', '', $opts); $this->assertEquals($response->body->a, 1); } public function testJSONOpts() { $opts = Request::jsonOpts(false, 512, JSON_NUMERIC_CHECK); $response = new Response(200, '{"number": 1234567890}', '', $opts); $this->assertSame($response->body->number, 1234567890); } }