diff --git a/tests/config.php b/tests/config.php index 071237f..523c3e3 100644 --- a/tests/config.php +++ b/tests/config.php @@ -228,11 +228,11 @@ 'workbox' => [ 'page_caches' => [ [ - 'regex' => '.*', - 'strategy' => 'staleWhileRevalidate', + 'match_callback' => 'regex:.*', + 'strategy' => 'StaleWhileRevalidate', 'cache_name' => 'page-cache', 'broadcast' => true, - 'urls' => ['privacy_policy', 'terms_of_service'], + 'preload_urls' => ['privacy_policy', 'terms_of_service'], ], ], 'offline_fallback' => [