From a67850ee93e8e95c8c0a54b10c5c6f2dc4dfc4f1 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 26 Apr 2018 00:06:13 +0200 Subject: [PATCH] Added test for user profiles --- main_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main_test.go b/main_test.go index 46dc62e3..70540928 100644 --- a/main_test.go +++ b/main_test.go @@ -87,6 +87,15 @@ func TestQuotePages(t *testing.T) { } } +func TestUserPages(t *testing.T) { + t.Parallel() + app := configure(aero.New()) + + for user := range arn.StreamUsers() { + testRoute(t, app, user.Link()) + } +} + func testRoute(t *testing.T, app *aero.Application, route string) { // Create a new HTTP request request, err := http.NewRequest("GET", route, nil)