public function StatusPageTest::testRequirementsHook in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 tests/src/Functional/StatusPageTest.php \Drupal\Tests\salesforce\Functional\StatusPageTest::testRequirementsHook()
- 5.0.x tests/src/Functional/StatusPageTest.php \Drupal\Tests\salesforce\Functional\StatusPageTest::testRequirementsHook()
Test implementation of salesforce_requirements().
File
- tests/
src/ Functional/ StatusPageTest.php, line 73
Class
Namespace
Drupal\Tests\salesforce\FunctionalCode
public function testRequirementsHook() {
// For install and update, requirements hook should be empty return value.
$this
->assertEquals([], salesforce_requirements("install"));
$this
->assertEquals([], salesforce_requirements("update"));
}