You are here

protected function MandrillTestAPI::getUrlsTestData in Mandrill 8

Gets an array of URLs data used in tests.

1 call to MandrillTestAPI::getUrlsTestData()
MandrillTestAPI::getURLs in src/MandrillTestAPI.php
Gets the 100 most-clicked URLs.

File

src/MandrillTestAPI.php, line 497

Class

MandrillTestAPI
Overrides functions in the Mandrill API service for testing.

Namespace

Drupal\mandrill

Code

protected function getUrlsTestData() {
  $urls = array();

  // URL One
  $url = array(
    'url' => 'http://example.com/example-page-one',
    'sent' => 42,
    'clicks' => 42,
    'unique_clicks' => 42,
  );
  $urls[] = $url;

  // URL Two
  $url = array(
    'url' => 'http://example.com/example-page-two',
    'sent' => 42,
    'clicks' => 42,
    'unique_clicks' => 42,
  );
  $urls[] = $url;
  return $urls;
}