Skip to content

Commit 0a75dda

Browse files
authored
Merge pull request #752 from ProgressPlanner/filip/fix-failing-test
Add locale param to lesson tests
2 parents e58b5df + f1b6c24 commit 0a75dda

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)