From 474c78b79d7342d62d559959ed71a61a3efcd1b9 Mon Sep 17 00:00:00 2001 From: Marius Date: Thu, 13 Oct 2016 18:44:44 +0200 Subject: [PATCH] Add test for absolute base paths --- post_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post_test.go b/post_test.go index 266a6ef..4e97c35 100644 --- a/post_test.go +++ b/post_test.go @@ -23,7 +23,7 @@ func TestPost(t *testing.T) { handler, _ := NewHandler(Config{ DataStore: store, - BasePath: "/files/", + BasePath: "https://buy.art/files/", }) (&httpTest{ @@ -35,7 +35,7 @@ func TestPost(t *testing.T) { }, Code: http.StatusCreated, ResHeader: map[string]string{ - "Location": "http://tus.io/files/foo", + "Location": "https://buy.art/files/foo", }, }).Run(handler, t) })