diff --git a/t/Macro/PageUrl.t b/t/Macro/PageUrl.t index f317d0776..c3ecc64c7 100644 --- a/t/Macro/PageUrl.t +++ b/t/Macro/PageUrl.t @@ -52,10 +52,10 @@ is($output, $session->url->gateway.$homeAsset->get('url').'/sub/page', 'fetching $session->setting->set('preventProxyCache', 1); $output = WebGUI::Macro::PageUrl::process($session); -like($output, qr{\?noCache=\d+,\d+$}, 'checking the cache settings in the page URL'); +like($output, qr{\?noCache=\d+:\d+$}, 'checking the cache settings in the page URL'); $output = WebGUI::Macro::PageUrl::process($session, '/sub/page'); -like($output, qr{/sub/page\?noCache=\d+,\d+$}, 'checking the cache settings in the URL are at the end of the page URL'); +like($output, qr{/sub/page\?noCache=\d+:\d+$}, 'checking the cache settings in the URL are at the end of the page URL'); } diff --git a/t/Macro/Slash_gatewayUrl.t b/t/Macro/Slash_gatewayUrl.t index 56a67bbcf..24ce75489 100644 --- a/t/Macro/Slash_gatewayUrl.t +++ b/t/Macro/Slash_gatewayUrl.t @@ -51,10 +51,10 @@ is($output, $session->url->gateway('/foo/bar'), 'passing URL through to macro'); $session->setting->set('preventProxyCache', 1); $output = WebGUI::Macro::Slash_gatewayUrl::process($session); -like($output, qr{/\?noCache=\d+,\d+$}, 'checking the cache settings in the URL'); +like($output, qr{/\?noCache=\d+:\d+$}, 'checking the cache settings in the URL'); $output = WebGUI::Macro::Slash_gatewayUrl::process($session, '/foo/bar'); -like($output, qr{/foo/bar\?noCache=\d+,\d+$}, 'checking the cache settings in the URL are at the end of the URL'); +like($output, qr{/foo/bar\?noCache=\d+:\d+$}, 'checking the cache settings in the URL are at the end of the URL'); $session->setting->set('preventProxyCache', 0);