Skip to content

Commit f816c91

Browse files
committed
Fix auth service test.
1 parent 64ded35 commit f816c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/service/service/service_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var _ = Describe("Service", func() {
4848
server = NewServer()
4949
server.AppendHandlers(
5050
CombineHandlers(
51-
VerifyRequest("POST", "/auth/serverlogin"),
51+
VerifyRequest("POST", "/serverlogin"), // by default the path prefix is empty to the auth service unless set in the env var TIDEPOOL_AUTH_CLIENT_EXTERNAL_PATH_PREFIX
5252
VerifyHeaderKV("X-Tidepool-Server-Name", *provider.NameOutput),
5353
VerifyHeaderKV("X-Tidepool-Server-Secret", serverSecret),
5454
VerifyBody(nil),

0 commit comments

Comments
 (0)