public function SimpleFbConnectFbFactoryTest::testGetFbServiceWithGoodData in Simple FB Connect 8.3
Tests getFbService when app ID and app Secrete have been set.
@covers ::getFbService @covers ::validateConfig @covers ::getAppId @covers ::getAppSecret
File
- tests/
src/ Unit/ SimpleFbConnectFbFactoryTest.php, line 60
Class
- SimpleFbConnectFbFactoryTest
- @coversDefaultClass Drupal\simple_fb_connect\SimpleFbConnectFbFactory @group simple_fb_connect
Namespace
Drupal\Tests\simple_fb_connect\UnitCode
public function testGetFbServiceWithGoodData() {
$this
->finalizeSetup('123', 'abc');
$this
->assertInstanceOf('Facebook\\Facebook', $this->fbFactory
->getFbService());
}