G-Node / gin-repo

G-Node Infrastructure - Repository server
Other
1 stars 5 forks source link

Short tests fails because gin.secret is missing #54

Open gicmo opened 7 years ago

gicmo commented 7 years ago

go test -v -short ./... will fail due to the introduction of Test_RepoExists, which creates a local user store. That in turned expects the gin.secret file to be there but since the server won't have started, it actually won't be there. We need to call auth.CreateSharedSecret before.