

Nextrek
@ 461
Nextrek / Android / SmartCharging / endPoints / nightly / fb_SDK / tests / GraphLocationTest.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
<?php use Facebook\FacebookRequest; use Facebook\GraphLocation; use Facebook\GraphObject; class GraphLocationTest extends PHPUnit_Framework_TestCase { public function testLocation() { $response = ( new FacebookRequest( FacebookTestHelper::$testSession, 'GET', '/104048449631599' ))->execute()->getGraphObject(); $this->assertTrue($response instanceof GraphObject); $location = $response->getProperty('location', GraphLocation::className()); $this->assertTrue(is_float($location->getLatitude())); $this->assertTrue(is_float($location->getLongitude())); } } |
Commits for Nextrek/Android/SmartCharging/endPoints/nightly/fb_SDK/tests/GraphLocationTest.php
Revision | Author | Commited | Message |
---|---|---|---|
461 |
![]() |
Mon 03 Aug, 2015 10:04:56 +0000 | Aggiunto supporto login Facebook, logout utente e modifiche (solo lato repo) all’utente e al locale. |