

Nextrek
@ 461
Nextrek / Android / SmartCharging / endPoints / nightly / fb_SDK / tests / GraphUserTest.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 26 27 |
<?php use Facebook\FacebookRequest; use Facebook\GraphUser; class GraphUserTest extends PHPUnit_Framework_TestCase { public function testMeReturnsGraphUser() { $response = ( new FacebookRequest( FacebookTestHelper::$testSession, 'GET', '/me' ))->execute()->getGraphObject(GraphUser::className()); $info = FacebookTestHelper::$testSession->getSessionInfo(); $this->assertTrue($response instanceof GraphUser); $this->assertEquals($info->getId(), $response->getId()); $this->assertNotNull($response->getName()); $this->assertNotNull($response->getLastName()); $this->assertNotNull($response->getLink()); } } |
Commits for Nextrek/Android/SmartCharging/endPoints/nightly/fb_SDK/tests/GraphUserTest.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. |