SocialAuthFacebookLoginBlockTest.php in Social Auth Facebook 8.2
Same filename and directory in other branches
File
tests/src/Functional/SocialAuthFacebookLoginBlockTest.phpView source
<?php
namespace Drupal\Tests\social_auth_facebook\Functional;
use Drupal\Tests\social_auth\Functional\SocialAuthTestBase;
/**
* Test that path to authentication route exists in Social Auth Login block.
*
* @group social_auth
*
* @ingroup social_auth_facebook
*/
class SocialAuthFacebookLoginBlockTest extends SocialAuthTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = [
'block',
'social_auth_facebook',
];
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$this->provider = 'facebook';
}
/**
* Test that the path is included in the login block.
*
* @throws \Behat\Mink\Exception\ResponseTextException
*/
public function testLinkExistsInBlock() {
$this
->checkLinkToProviderExists();
}
}
Classes
Name![]() |
Description |
---|---|
SocialAuthFacebookLoginBlockTest | Test that path to authentication route exists in Social Auth Login block. |