Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-shell
Commits
93859205
Commit
93859205
authored
Oct 03, 2019
by
Małgorzata Ksionek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add cr remarks
parent
f00c577d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
go/internal/gitlabnet/client_test.go
go/internal/gitlabnet/client_test.go
+0
-2
go/internal/testhelper/requesthandlers/requesthandlers.go
go/internal/testhelper/requesthandlers/requesthandlers.go
+1
-1
No files found.
go/internal/gitlabnet/client_test.go
View file @
93859205
...
...
@@ -110,8 +110,6 @@ func TestClients(t *testing.T) {
testMissing
(
t
,
client
)
testErrorMessage
(
t
,
client
)
testAuthenticationHeader
(
t
,
client
)
testXForwardedForHeader
(
t
,
client
)
testEmptyForwardedForHeader
(
t
,
client
)
})
}
}
...
...
go/internal/testhelper/requesthandlers/requesthandlers.go
View file @
93859205
...
...
@@ -13,7 +13,7 @@ import (
func
BuildDisallowedByApiHandlers
(
t
*
testing
.
T
)
[]
testserver
.
TestRequestHandler
{
requests
:=
[]
testserver
.
TestRequestHandler
{
{
Path
:
"/api/v4/internal/allowed"
,
Path
:
"/api/v4/internal/allowed"
,
Handler
:
func
(
w
http
.
ResponseWriter
,
r
*
http
.
Request
)
{
body
:=
map
[
string
]
interface
{}{
"status"
:
false
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment