Skip to content

Commit 1aa7783

Browse files
committed
Fix circular reference in test constants
1 parent 012c976 commit 1aa7783

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/authz/server/server_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const (
1919
testClientRemoteIP = "100.65.1.1:12345"
2020
resultKey = "result"
2121
decisionKey = "decision"
22-
testRejectsNonPOST = testRejectsNonPOST
23-
testRejectsInvalidJSON = testRejectsInvalidJSON
22+
testRejectsNonPOST = "rejects non-POST methods"
23+
testRejectsInvalidJSON = "rejects invalid JSON"
2424
)
2525

2626
// TestServer_healthHandler tests the health endpoint

0 commit comments

Comments
 (0)