aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/fixtures')
-rw-r--r--server/tests/fixtures/peertube-plugin-test-external-auth-one/main.js4
-rw-r--r--server/tests/fixtures/peertube-plugin-test-external-auth-two/main.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test-external-auth-one/main.js b/server/tests/fixtures/peertube-plugin-test-external-auth-one/main.js
index f29fd1f30..91c67e550 100644
--- a/server/tests/fixtures/peertube-plugin-test-external-auth-one/main.js
+++ b/server/tests/fixtures/peertube-plugin-test-external-auth-one/main.js
@@ -5,7 +5,7 @@ async function register ({
5 { 5 {
6 const result = registerExternalAuth({ 6 const result = registerExternalAuth({
7 authName: 'external-auth-1', 7 authName: 'external-auth-1',
8 authDisplayName: 'External Auth 1', 8 authDisplayName: () => 'External Auth 1',
9 onLogout: user => peertubeHelpers.logger.info('On logout %s', user.username), 9 onLogout: user => peertubeHelpers.logger.info('On logout %s', user.username),
10 onAuthRequest: (req, res) => { 10 onAuthRequest: (req, res) => {
11 const username = req.query.username 11 const username = req.query.username
@@ -23,7 +23,7 @@ async function register ({
23 { 23 {
24 const result = registerExternalAuth({ 24 const result = registerExternalAuth({
25 authName: 'external-auth-2', 25 authName: 'external-auth-2',
26 authDisplayName: 'External Auth 2', 26 authDisplayName: () => 'External Auth 2',
27 onAuthRequest: (req, res) => { 27 onAuthRequest: (req, res) => {
28 result.userAuthenticated({ 28 result.userAuthenticated({
29 req, 29 req,
diff --git a/server/tests/fixtures/peertube-plugin-test-external-auth-two/main.js b/server/tests/fixtures/peertube-plugin-test-external-auth-two/main.js
index 34fec1bb3..126905ffc 100644
--- a/server/tests/fixtures/peertube-plugin-test-external-auth-two/main.js
+++ b/server/tests/fixtures/peertube-plugin-test-external-auth-two/main.js
@@ -5,7 +5,7 @@ async function register ({
5 { 5 {
6 const result = registerExternalAuth({ 6 const result = registerExternalAuth({
7 authName: 'external-auth-3', 7 authName: 'external-auth-3',
8 authDisplayName: 'External Auth 3', 8 authDisplayName: () => 'External Auth 3',
9 onAuthRequest: (req, res) => { 9 onAuthRequest: (req, res) => {
10 result.userAuthenticated({ 10 result.userAuthenticated({
11 req, 11 req,