diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-29 16:16:24 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-10 14:02:41 +0200 |
commit | 5fb2e2888ce032c638e4b75d07458642f0833e52 (patch) | |
tree | 8830d873569316889b8134027e9a43b198cca38f /server/tests/api/check-params/config.ts | |
parent | 62e7be634bc189f942ae51cb4b080079ab503ff0 (diff) | |
download | PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.tar.gz PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.tar.zst PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.zip |
First implem global search
Diffstat (limited to 'server/tests/api/check-params/config.ts')
-rw-r--r-- | server/tests/api/check-params/config.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts index 7c96fa762..3f2708f94 100644 --- a/server/tests/api/check-params/config.ts +++ b/server/tests/api/check-params/config.ts | |||
@@ -139,6 +139,18 @@ describe('Test config API validators', function () { | |||
139 | dismissable: true, | 139 | dismissable: true, |
140 | message: 'super message', | 140 | message: 'super message', |
141 | level: 'warning' | 141 | level: 'warning' |
142 | }, | ||
143 | search: { | ||
144 | remoteUri: { | ||
145 | users: true, | ||
146 | anonymous: true | ||
147 | }, | ||
148 | searchIndex: { | ||
149 | enabled: true, | ||
150 | url: 'https://search.joinpeertube.org', | ||
151 | disableLocalSearch: true, | ||
152 | isDefaultSearch: true | ||
153 | } | ||
142 | } | 154 | } |
143 | } | 155 | } |
144 | 156 | ||