diff options
Diffstat (limited to 'git-codereview/util_test.go')
| -rw-r--r-- | git-codereview/util_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-codereview/util_test.go b/git-codereview/util_test.go index 775b244..fd419a2 100644 --- a/git-codereview/util_test.go +++ b/git-codereview/util_test.go @@ -437,6 +437,7 @@ func newGerritServer(t *testing.T) *gerritServer { t.Fatalf("starting fake gerrit: %v", err) } + auth.initialized = true auth.host = l.Addr().String() auth.url = "http://" + auth.host auth.project = "proj" @@ -450,6 +451,7 @@ func newGerritServer(t *testing.T) *gerritServer { func (s *gerritServer) done() { s.l.Close() + auth.initialized = false auth.host = "" auth.url = "" auth.project = "" |
