You are here

private function AcquiaAgentTestCase::acquiaAgentStrings in Acquia Connector 7.2

Same name and namespace in other branches
  1. 7.3 acquia_agent/tests/acquia_agent.test \AcquiaAgentTestCase::acquiaAgentStrings()

Helper function for storing UI strings.

2 calls to AcquiaAgentTestCase::acquiaAgentStrings()
AcquiaAgentTestCase::testAcquiaAgentCloudMigrate in acquia_agent/tests/acquia_agent.test
AcquiaAgentTestCase::testAcquiaAgentGetConnected in acquia_agent/tests/acquia_agent.test

File

acquia_agent/tests/acquia_agent.test, line 57

Class

AcquiaAgentTestCase
Tests the functionality of the Acquia Agent module.

Code

private function acquiaAgentStrings($id) {
  switch ($id) {
    case 'free':
      return 'Sign up for Acquia Cloud Free, a free Drupal sandbox to experiment with new features, test your code quality, and apply continuous integration best practices.';
    case 'get-connected':
      return 'If you have an Acquia Subscription, connect now. Otherwise, you can turn this message off by disabling the Acquia Subscription modules.';
    case 'enter-email':
      return 'Enter the email address you use to sign in to Acquia';
    case 'enter-password':
      return 'Enter your Acquia account password';
    case 'account-not-found':
      return 'Account not found';
    case 'id-key':
      return 'Enter your identifer and key from your subscriptions overview or log in to connect your site to Acquia Insight.';
    case 'enter-key':
      return 'Network key';
    case 'subscription-not-found':
      return 'Error: Subscription not found (1800)';
    case 'saved':
      return 'The Acquia configuration options have been saved.';
    case 'subscription':
      return 'Subscription: ' . ACQTEST_ID;

    // Assumes subscription name is same as id.
    case 'migrate':
      return 'Transfer a fully-functional copy of your site to Acquia Cloud.';
    case 'migrate-hosting-404':
      return 'Error: Hosting not available under your subscription. Upgrade your subscription to continue with import.';
    case 'migrate-select-environments':
      return 'Select environment for migration';
    case 'migrate-files-label':
      return 'Migrate files directory';
    case 'menu-active':
      return 'Subscription active (expires 2023/10/8)';
    case 'menu-inactive':
      return 'Subscription not active';
  }
}