

Nextrek
@ 461
Nextrek / Android / SmartCharging / endPoints / nightly / fb_SDK / tests / bootstrap.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 28 29 30 31 32 33 34 35 36 37 |
<?php date_default_timezone_set('Europe/Paris'); require_once __DIR__ . '/../vendor/autoload.php'; use Facebook\FacebookSDKException; if (!file_exists(__DIR__ . '/FacebookTestCredentials.php')) { throw new FacebookSDKException( 'You must create a FacebookTestCredentials.php file from FacebookTestCredentials.php.dist' ); } require_once __DIR__ . '/FacebookTestCredentials.php'; require_once __DIR__ . '/FacebookTestHelper.php'; // Uncomment two lines to force functional test curl implementation //use Facebook\HttpClients\FacebookCurlHttpClient; //FacebookRequest::setHttpClientHandler(new FacebookCurlHttpClient()); // Uncomment two lines to force functional test stream wrapper implementation //use Facebook\HttpClients\FacebookStreamHttpClient; //FacebookRequest::setHttpClientHandler(new FacebookStreamHttpClient()); // Uncomment two lines to force functional test Guzzle implementation //use Facebook\HttpClients\FacebookGuzzleHttpClient; //FacebookRequest::setHttpClientHandler(new FacebookGuzzleHttpClient()); // Create a temp test user to use for testing FacebookTestHelper::initialize(); // Delete the temp test user after all tests have fired register_shutdown_function(function () { FacebookTestHelper::deleteTestUser(); }); |
Commits for Nextrek/Android/SmartCharging/endPoints/nightly/fb_SDK/tests/bootstrap.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. |