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