aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/fixtures/peertube-plugin-test-id-pass-auth-one
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test-id-pass-auth-one')
-rw-r--r--server/tests/fixtures/peertube-plugin-test-id-pass-auth-one/main.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test-id-pass-auth-one/main.js b/server/tests/fixtures/peertube-plugin-test-id-pass-auth-one/main.js
index 4755ed643..9fc12a3e3 100644
--- a/server/tests/fixtures/peertube-plugin-test-id-pass-auth-one/main.js
+++ b/server/tests/fixtures/peertube-plugin-test-id-pass-auth-one/main.js
@@ -3,7 +3,7 @@ async function register ({
3 peertubeHelpers 3 peertubeHelpers
4}) { 4}) {
5 registerIdAndPassAuth({ 5 registerIdAndPassAuth({
6 type: 'id-and-pass', 6 authName: 'spyro-auth',
7 7
8 onLogout: () => { 8 onLogout: () => {
9 peertubeHelpers.logger.info('On logout for auth 1 - 1') 9 peertubeHelpers.logger.info('On logout for auth 1 - 1')
@@ -16,7 +16,7 @@ async function register ({
16 return Promise.resolve({ 16 return Promise.resolve({
17 username: 'spyro', 17 username: 'spyro',
18 email: 'spyro@example.com', 18 email: 'spyro@example.com',
19 role: 0, 19 role: 2,
20 displayName: 'Spyro the Dragon' 20 displayName: 'Spyro the Dragon'
21 }) 21 })
22 } 22 }
@@ -26,7 +26,7 @@ async function register ({
26 }) 26 })
27 27
28 registerIdAndPassAuth({ 28 registerIdAndPassAuth({
29 type: 'id-and-pass', 29 authName: 'crash-auth',
30 30
31 onLogout: () => { 31 onLogout: () => {
32 peertubeHelpers.logger.info('On logout for auth 1 - 2') 32 peertubeHelpers.logger.info('On logout for auth 1 - 2')
@@ -39,7 +39,7 @@ async function register ({
39 return Promise.resolve({ 39 return Promise.resolve({
40 username: 'crash', 40 username: 'crash',
41 email: 'crash@example.com', 41 email: 'crash@example.com',
42 role: 2, 42 role: 1,
43 displayName: 'Crash Bandicoot' 43 displayName: 'Crash Bandicoot'
44 }) 44 })
45 } 45 }