public function StatusPageTest::testAuthProviderRequirementsOk in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 tests/src/Functional/StatusPageTest.php \Drupal\Tests\salesforce\Functional\StatusPageTest::testAuthProviderRequirementsOk()
- 8.3 tests/src/Functional/StatusPageTest.php \Drupal\Tests\salesforce\Functional\StatusPageTest::testAuthProviderRequirementsOk()
Test requirements when everything is in place.
File
- tests/
src/ Functional/ StatusPageTest.php, line 115
Class
Namespace
Drupal\Tests\salesforce\FunctionalCode
public function testAuthProviderRequirementsOk() {
$this->authMan
->setHasProviders(TRUE);
$this->authMan
->setHasConfig(TRUE);
$this->authMan
->setHasToken(TRUE);
$requirements = salesforce_get_auth_provider_requirements();
$this
->assertEquals(REQUIREMENT_OK, $requirements['severity']);
$this
->assertArrayNotHasKey('description', $requirements);
}