Skip to content

Commit f1b6c24

Browse files
committed
add 'prpl_lesson_locale' filter to tests
1 parent e58b5df commit f1b6c24

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/phpunit/test-class-page-types.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public static function set_lessons_cache() {
7474
[
7575
'site' => \get_site_url(),
7676
'license_key' => \progress_planner()->get_license_key(),
77+
'locale' => apply_filters( 'prpl_lesson_locale', \get_locale() ),
7778
],
7879
$url
7980
);

0 commit comments

Comments
 (0)