From 00b5556c182fa70dfca17c517488b8afae6257c9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 22 Feb 2018 10:22:53 +0100 Subject: Add ability to add custom css/javascript --- server/tests/api/check-params/config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'server/tests/api/check-params') diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts index efc1e4e09..c1c0a3f59 100644 --- a/server/tests/api/check-params/config.ts +++ b/server/tests/api/check-params/config.ts @@ -17,7 +17,11 @@ describe('Test config API validators', function () { instance: { name: 'PeerTube updated', description: 'my super description', - terms: 'my super terms' + terms: 'my super terms', + customizations: { + javascript: 'alert("coucou")', + css: 'body { background-color: red; }' + } }, cache: { previews: { -- cgit v1.2.3