File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class email_factor_test extends \core_phpunit\testcase {
29
29
* Provides to test_generate_email_ip_address_location test.
30
30
* @return array
31
31
*/
32
- public function generate_email_ip_address_location_provider (): array {
32
+ public static function generate_email_ip_address_location_provider (): array {
33
33
return [
34
34
'real ip v4 ' => [
35
35
// Note - this is the same IP address used by core_iplookup_geoplugin_testcase.
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ public function test_calculate_expiry_time_for_overnight_expiry_with_an_hour_exp
261
261
* Increments by 30 minutes to cover half hour and hour cases.
262
262
* Starting timestamp: 2022-01-15 07:30:00 Australia/Melbourne time.
263
263
*/
264
- public function timestamp_provider () {
264
+ public static function timestamp_provider () {
265
265
$ starttimestamp = 1642192200 ;
266
266
foreach (range (0 , 23 ) as $ i ) {
267
267
$ timestamps [] = [$ starttimestamp + ($ i * HOURSECS )];
You can’t perform that action at this time.
0 commit comments