public function SettingsTest::testConfigurationLinks in Acquia Lift Connector 8
Same name and namespace in other branches
- 8.3 src/Tests/SettingsTest.php \Drupal\acquia_lift\Tests\SettingsTest::testConfigurationLinks()
File
- src/
Tests/ SettingsTest.php, line 72 - Contains \Drupal\acquia_lift\Tests\SettingsTest.
Class
- SettingsTest
- Test Acquia Lift Settings.
Namespace
Drupal\acquia_lift\TestsCode
public function testConfigurationLinks() {
// Check if Configure link is available on 'Extend' page.
// Requires 'administer modules' permission.
$this
->drupalGet('admin/modules');
$this
->assertRaw('admin/config/content/acquia_lift', '[testConfigurationLinks]: Configure link from Extend page to Acquia Lift Settings page exists.');
// Check if Configure link is available on 'Status Reports' page. NOTE: Link is only shown without a configured Acquia Lift credential.
// Requires 'administer site configuration' permission.
$this
->drupalGet('admin/reports/status');
$this
->assertRaw('admin/config/content/acquia_lift', '[testConfigurationLinks]: Configure link from Status Reports page to Acquia Lift Settings page exists.');
}