You are here

public function StatisticsViewsResultTest::providerTestStatisticsCount in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php \Drupal\Tests\statistics\Unit\StatisticsViewsResultTest::providerTestStatisticsCount()

File

core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php, line 28

Class

StatisticsViewsResultTest
@coversDefaultClass \Drupal\statistics\StatisticsViewsResult @group statistics

Namespace

Drupal\Tests\statistics\Unit

Code

public function providerTestStatisticsCount() {
  return [
    [
      2,
      0,
      1421727536,
    ],
    [
      1,
      0,
      1471428059,
    ],
    [
      1,
      1,
      1478755275,
    ],
    [
      '1',
      '1',
      '1478755275',
    ],
  ];
}