From 1699600ffc87ac63f5720d8c955f74f4317afcd7 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 5 Aug 2020 19:06:54 +0200 Subject: [PATCH] fix test --- src/matrix/net/request/xhr.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/net/request/xhr.js b/src/matrix/net/request/xhr.js index 77364df3..ed4a36c3 100644 --- a/src/matrix/net/request/xhr.js +++ b/src/matrix/net/request/xhr.js @@ -90,8 +90,8 @@ export function tests() { return { "add cache buster": assert => { const random = () => 0.5; - assert.equals(addCacheBuster("http://foo", random), "http://foo?_cacheBuster=5"); - assert.equals(addCacheBuster("http://foo?bar=baz", random), "http://foo?bar=baz&_cacheBuster=5"); + assert.equal(addCacheBuster("http://foo", random), "http://foo?_cacheBuster=4503599627370496"); + assert.equal(addCacheBuster("http://foo?bar=baz", random), "http://foo?bar=baz&_cacheBuster=4503599627370496"); } } }