From 2dc8bc198d204a66aae6ad8cf45aada015e6c0e8 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 17 Jun 2017 00:33:27 +0200 Subject: [PATCH] Improved tests --- tests.go | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/tests.go b/tests.go index 86a22bfa..db0b1579 100644 --- a/tests.go +++ b/tests.go @@ -60,7 +60,27 @@ func init() { "/api/user/4J6qpK1ve", }) - // Others + app.Test("/api/emailtouser/:id", []string{ + "/api/emailtouser/e.urbach@gmail.com", + }) + + app.Test("/api/googletouser/:id", []string{ + "/api/googletouser/106530160120373282283", + }) + + app.Test("/api/nicktouser/:id", []string{ + "/api/nicktouser/Akyoto", + }) + + // Images + app.Test("/icons/:file", []string{ + "/icons/inbox", + }) + + app.Test("/images/login/:file", []string{ + "/images/login/google", + }) + app.Test("/images/cover/:file", []string{ "/images/cover/default", })