You are here

public static function AcquiaLiftTestReports::getBasicReport in Acquia Lift Connector 7.2

1 call to AcquiaLiftTestReports::getBasicReport()
AcquiaLiftWebTestReports::testReportEndDate in tests/acquia_lift.test

File

tests/acquia_lift.test_classes.inc, line 238
Provides test classes for Acquia Lift

Class

AcquiaLiftTestReports
Class AcquiaLiftTestReports

Code

public static function getBasicReport() {
  return array(
    'results' => array(
      array(
        'decision_id' => 'option-a',
        'results' => array(
          array(
            'timestamp' => '2015-07-07T00:00:00Z',
            'total_play' => 250,
            'total_goals' => 25,
            'total_goals_value' => 25,
            'total_plays_explore' => 100,
            'total_goals_explore' => 12,
            'total_goals_value_explore' => 12,
          ),
          array(
            'timestamp' => '2015-07-08T00:00:00Z',
            'total_play' => 240,
            'total_goals' => 26,
            'total_goals_value' => 26,
            'total_plays_explore' => 101,
            'total_goals_explore' => 13,
            'total_goals_value_explore' => 13,
          ),
        ),
      ),
      array(
        'decision_id' => 'option-b',
        'results' => array(
          array(
            'timestamp' => '2015-07-07T00:00:00Z',
            'total_play' => 265,
            'total_goals' => 27,
            'total_goals_value' => 27,
            'total_plays_explore' => 99,
            'total_goals_explore' => 11,
            'total_goals_value_explore' => 11,
          ),
          array(
            'timestamp' => '2015-07-08T00:00:00Z',
            'total_play' => 245,
            'total_goals' => 22,
            'total_goals_value' => 22,
            'total_plays_explore' => 100,
            'total_goals_explore' => 10,
            'total_goals_value_explore' => 10,
          ),
        ),
      ),
    ),
    'total_plays' => 1000,
    'total_goals' => 100,
  );
}