You are here

public function StatusPageTest::testRequirementsHook in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 tests/src/Functional/StatusPageTest.php \Drupal\Tests\salesforce\Functional\StatusPageTest::testRequirementsHook()
  2. 8.3 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

StatusPageTest
Test salesforce_requirements().

Namespace

Drupal\Tests\salesforce\Functional

Code

public function testRequirementsHook() {

  // For install and update, requirements hook should be empty return value.
  $this
    ->assertEquals([], salesforce_requirements("install"));
  $this
    ->assertEquals([], salesforce_requirements("update"));
}