Skip to content

Commit bf4d3f9

Browse files
author
dustinhuynh
committed
#180 - New metric for rolling 12 months active users
+ Update docs
1 parent c82e546 commit bf4d3f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/tool_cloudmetrics_users_test.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected function setUp(): void {
3939
parent::setUp();
4040
$this->resetAfterTest();
4141
}
42-
/**@var integer Second in a day */
42+
/** @var integer Seconds in a day. */
4343
public const SECOND_IN_DAY = 86400;
4444

4545
/** @var array[] Sample user DB data to be used in tests. */
@@ -107,6 +107,7 @@ public function test_generate_metrics(string $metricname, int $frequency, array
107107
* Tests test_generate_rolling_active_users_metric() for the builtin user metrics.
108108
*
109109
* @dataProvider data_for_test_generate_rolling_active_users_metric
110+
* @param string $metricname The name of the metric to be tested.
110111
* @param array $expected List of metric items that expect to be generated.
111112
* @throws \dml_exception
112113
*/

0 commit comments

Comments
 (0)