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-id-pass-auth-one/main.js8
-rw-r--r--server/tests/fixtures/peertube-plugin-test-id-pass-auth-three/main.js2
-rw-r--r--server/tests/fixtures/peertube-plugin-test-id-pass-auth-two/main.js2
3 files changed, 6 insertions, 6 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 }
diff --git a/server/tests/fixtures/peertube-plugin-test-id-pass-auth-three/main.js b/server/tests/fixtures/peertube-plugin-test-id-pass-auth-three/main.js
index 2a15b3754..372f3fa0c 100644
--- a/server/tests/fixtures/peertube-plugin-test-id-pass-auth-three/main.js
+++ b/server/tests/fixtures/peertube-plugin-test-id-pass-auth-three/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: 'laguna-bad-auth',
7 7
8 onLogout: () => { 8 onLogout: () => {
9 peertubeHelpers.logger.info('On logout for auth 3 - 1') 9 peertubeHelpers.logger.info('On logout for auth 3 - 1')
diff --git a/server/tests/fixtures/peertube-plugin-test-id-pass-auth-two/main.js b/server/tests/fixtures/peertube-plugin-test-id-pass-auth-two/main.js
index edfc870c0..c0e560019 100644
--- a/server/tests/fixtures/peertube-plugin-test-id-pass-auth-two/main.js
+++ b/server/tests/fixtures/peertube-plugin-test-id-pass-auth-two/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: 'laguna-auth',
7 7
8 onLogout: () => { 8 onLogout: () => {
9 peertubeHelpers.logger.info('On logout for auth 2 - 1') 9 peertubeHelpers.logger.info('On logout for auth 2 - 1')