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.
go test -v -short ./...
will fail due to the introduction ofTest_RepoExists
, which creates a local user store. That in turned expects thegin.secret
file to be there but since the server won't have started, it actually won't be there. We need to callauth.CreateSharedSecret
before.