aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/api_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'git-codereview/api_test.go')
-rw-r--r--git-codereview/api_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-codereview/api_test.go b/git-codereview/api_test.go
index 28ccce9..8494e90 100644
--- a/git-codereview/api_test.go
+++ b/git-codereview/api_test.go
@@ -94,6 +94,7 @@ func TestLoadAuth(t *testing.T) {
for i, tt := range authTests {
t.Logf("#%d", i)
+ auth.initialized = false
auth.user = ""
auth.password = ""
auth.cookieName = ""
@@ -175,6 +176,7 @@ func TestLoadGerritOrigin(t *testing.T) {
}
for _, item := range list {
+ auth.initialized = false
auth.host = ""
auth.url = ""
auth.project = ""