public function SettingsTest::testConfigurationLinks in Acquia Lift Connector 8.3
Same name and namespace in other branches
- 8 src/Tests/SettingsTest.php \Drupal\acquia_lift\Tests\SettingsTest::testConfigurationLinks()
File
- src/
Tests/ SettingsTest.php, line 68
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/services/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/services/acquia-lift', '[testConfigurationLinks]: Configure link from Status Reports page to Acquia Lift Settings page exists.');
}