test: update fetch assertion for no-store cache option
This commit is contained in:
1 parent
bb5e778154
commit
5f5ebd259e
1 file changed
+1
-1
@@ -197,7 +197,7 @@ class TestLoadHtmlInlineFunction:
|
||||
body = ui[idx:idx + 1200]
|
||||
assert 'const mediaSessionId=' in body
|
||||
assert "'&session_id='+encodeURIComponent(mediaSessionId)" in body
|
||||
assert 'fetch(mediaUrl)' in body
|
||||
assert 'fetch(mediaUrl' in body
|
||||
assert "const publicMediaUrl='api/media?path='+encodeURIComponent(path);" in body
|
||||
assert "const openUrl=publicMediaUrl+'&inline=1';" in body
|
||||
|
||||
|
||||
Reference in new issue
Block a user