Skip to content

Commit

Permalink
Unset some globals
Browse files Browse the repository at this point in the history
  • Loading branch information
lonelycode committed Sep 20, 2017
1 parent 0733bbb commit cc0448e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mw_api_rate_limit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ func TestRLOpen(t *testing.T) {
}
}
}

DRLManager.CurrentTokenValue = 0
DRLManager.RequestTokenValue = 0
}

func TestRLClosed(t *testing.T) {
Expand Down Expand Up @@ -111,6 +114,9 @@ func TestRLClosed(t *testing.T) {
}
}
}

DRLManager.CurrentTokenValue = 0
DRLManager.RequestTokenValue = 0
}

const openRLDefSmall = `{
Expand Down

0 comments on commit cc0448e

Please sign in to comment.