public function SocialApiTestBase::checkIsAvailableInIntegrationList in Social API 3.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/SocialApiTestBase.php \Drupal\Tests\social_api\Functional\SocialApiTestBase::checkIsAvailableInIntegrationList()
Check that module is available in integration list.
File
- tests/
src/ Functional/ SocialApiTestBase.php, line 108
Class
- SocialApiTestBase
- Defines a base class for testing Social Auth implementers.
Namespace
Drupal\Tests\social_api\FunctionalCode
public function checkIsAvailableInIntegrationList() {
$this
->drupalLogin($this->adminUser);
$this
->drupalGet('/admin/config/social-api/' . $this->moduleType);
// Assert that module is enabled in integrations list.
$this
->assertSession()
->pageTextContains($this->module);
}