Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-workhorse
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
iv
gitlab-workhorse
Commits
4d645003
Commit
4d645003
authored
Oct 06, 2015
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add CommitId to test auth response
parent
c2e6f5f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main_test.go
main_test.go
+1
-1
No files found.
main_test.go
View file @
4d645003
...
@@ -260,7 +260,7 @@ func gitOkBody(t *testing.T) string {
...
@@ -260,7 +260,7 @@ func gitOkBody(t *testing.T) string {
}
}
func
archiveOkBody
(
t
*
testing
.
T
,
archiveName
string
)
string
{
func
archiveOkBody
(
t
*
testing
.
T
,
archiveName
string
)
string
{
return
fmt
.
Sprintf
(
`{"RepoPath":"%s","ArchivePath":"/tmp/%s"}`
,
repoPath
(
t
),
archiveName
)
return
fmt
.
Sprintf
(
`{"RepoPath":"%s","ArchivePath":"/tmp/%s"
,"CommitId":"c7fbe50c7c7419d9701eebe64b1fdacc3df5b9dd"
}`
,
repoPath
(
t
),
archiveName
)
}
}
func
repoPath
(
t
*
testing
.
T
)
string
{
func
repoPath
(
t
*
testing
.
T
)
string
{
...
...
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