diff options
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test-five')
-rw-r--r-- | server/tests/fixtures/peertube-plugin-test-five/main.js | 23 | ||||
-rw-r--r-- | server/tests/fixtures/peertube-plugin-test-five/package.json | 20 |
2 files changed, 0 insertions, 43 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test-five/main.js b/server/tests/fixtures/peertube-plugin-test-five/main.js deleted file mode 100644 index 07dd18654..000000000 --- a/server/tests/fixtures/peertube-plugin-test-five/main.js +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | async function register ({ | ||
2 | getRouter | ||
3 | }) { | ||
4 | const router = getRouter() | ||
5 | router.get('/ping', (req, res) => res.json({ message: 'pong' })) | ||
6 | |||
7 | router.get('/is-authenticated', (req, res) => res.json({ isAuthenticated: res.locals.authenticated })) | ||
8 | |||
9 | router.post('/form/post/mirror', (req, res) => { | ||
10 | res.json(req.body) | ||
11 | }) | ||
12 | } | ||
13 | |||
14 | async function unregister () { | ||
15 | return | ||
16 | } | ||
17 | |||
18 | module.exports = { | ||
19 | register, | ||
20 | unregister | ||
21 | } | ||
22 | |||
23 | // ########################################################################### | ||
diff --git a/server/tests/fixtures/peertube-plugin-test-five/package.json b/server/tests/fixtures/peertube-plugin-test-five/package.json deleted file mode 100644 index 1f5d65d9d..000000000 --- a/server/tests/fixtures/peertube-plugin-test-five/package.json +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | { | ||
2 | "name": "peertube-plugin-test-five", | ||
3 | "version": "0.0.1", | ||
4 | "description": "Plugin test 5", | ||
5 | "engine": { | ||
6 | "peertube": ">=1.3.0" | ||
7 | }, | ||
8 | "keywords": [ | ||
9 | "peertube", | ||
10 | "plugin" | ||
11 | ], | ||
12 | "homepage": "https://github.com/Chocobozzz/PeerTube", | ||
13 | "author": "Chocobozzz", | ||
14 | "bugs": "https://github.com/Chocobozzz/PeerTube/issues", | ||
15 | "library": "./main.js", | ||
16 | "staticDirs": {}, | ||
17 | "css": [], | ||
18 | "clientScripts": [], | ||
19 | "translations": {} | ||
20 | } | ||