You are here

private function AcquiaSPITestCase::acquiaSPIStrings in Acquia Connector 7.2

Same name and namespace in other branches
  1. 7.3 acquia_spi/tests/acquia_spi.test \AcquiaSPITestCase::acquiaSpiStrings()

Helper function for storing UI strings.

2 calls to AcquiaSPITestCase::acquiaSPIStrings()
AcquiaSPITestCase::testAcquiaSPIMessages in acquia_spi/tests/acquia_spi.test
AcquiaSPITestCase::testAcquiaSPIUI in acquia_spi/tests/acquia_spi.test

File

acquia_spi/tests/acquia_spi.test, line 72

Class

AcquiaSPITestCase
Tests the functionality of the Acquia SPI module.

Code

private function acquiaSPIStrings($id) {
  switch ($id) {
    case 'spi-status-text':
      return 'SPI data will be sent once every 30 minutes once cron is called';
    case 'spi-not-sent':
      return 'SPI data has not been sent';
    case 'spi-send-text':
      return 'manually send SPI data';
    case 'spi-data-sent':
      return 'SPI data sent';
    case 'spi-data-sent-error':
      return 'Error sending SPI data. Consult the logs for more information.';
    case 'spi-new-def':
      return 'There are new checks that will be performed on your site by the Acquia Connector';
  }
}