From 468956abf11f7c8ac5e656f6851ed741eb690385 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 3 Jul 2017 22:50:04 +0200 Subject: [PATCH] Fixed tests --- tests.go | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/tests.go b/tests.go index 2658213f..5f631dfd 100644 --- a/tests.go +++ b/tests.go @@ -100,6 +100,10 @@ var routeTests = map[string][]string{ "/api/googletouser/106530160120373282283", }, + "/api/facebooktouser/:id": []string{ + "/api/facebooktouser/10207576239700188", + }, + "/api/nicktouser/:id": []string{ "/api/nicktouser/Akyoto", }, @@ -150,16 +154,18 @@ var routeTests = map[string][]string{ }, // Disable these tests because they require authorization - "/auth/google": nil, - "/auth/google/callback": nil, - "/auth/facebook": nil, - "/auth/facebook/callback": nil, - "/anime/:id/edit": nil, - "/new/thread": nil, - "/new/soundtrack": nil, - "/user": nil, - "/settings": nil, - "/extension/embed": nil, + "/auth/google": nil, + "/auth/google/callback": nil, + "/auth/facebook": nil, + "/auth/facebook/callback": nil, + "/import": nil, + "/import/anilist/animelist": nil, + "/anime/:id/edit": nil, + "/new/thread": nil, + "/new/soundtrack": nil, + "/user": nil, + "/settings": nil, + "/extension/embed": nil, } // API interfaces