validate Nodeinfo response by schema (#2390)

* rm stable: 'false' from actions/setup-go@v3

* adapt tests from #2369

* set undefined as defaultStreamKey

pass adminpass to sendConfigChangeRequest()

* mv getAdminConfig to api/lib/config.js

* npm install --quiet for automated tests

* refactor tests

separate default values from new ones

* test adminpass change

fix defaultStreamKeys test

* fix defaultStreamKeys

* use getAdminStatus

* mv test/automated/lib/config.js to admin.js

* check default hideViewerCount

cleanup

* test more default options in api

erverName
SServerSummary
yp.instanceUrl
FederationConfig.username

* more testing of default config params

* update reference values for api test
This commit is contained in:
Meisam
2022-11-30 00:49:08 +01:00
committed by Gabe Kangas
parent f4c2a49887
commit 0a8fc6e8c5
8 changed files with 653 additions and 119 deletions

View File

@@ -3,7 +3,7 @@
TEMP_DB=$(mktemp)
# Install the node test framework
npm install #--silent >/dev/null
npm install --quiet --no-progress
# Download a specific version of ffmpeg
if [ ! -d "ffmpeg" ]; then