-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1479 from getlantern/thomas/issue-header
add headers to issue request
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ import ( | |
|
||
"gopkg.in/yaml.v2" | ||
|
||
"github.com/getlantern/flashlight/v7/common" | ||
"github.com/getlantern/flashlight/v7/config" | ||
"github.com/getlantern/flashlight/v7/geolookup" | ||
"github.com/getlantern/flashlight/v7/proxied" | ||
|
@@ -53,15 +54,19 @@ func updateFronted() { | |
|
||
func TestSendReport(t *testing.T) { | ||
updateFronted() | ||
//manually set library version since its only populated when run from a binary | ||
common.LibraryVersion = "7.0.0" | ||
UserConfigData := common.UserConfigData{} | ||
err := sendReport( | ||
&UserConfigData, | ||
"34qsdf-24qsadf-32542q", | ||
"1", | ||
"token", | ||
"en", | ||
int(Request_NO_ACCESS), | ||
"Description placeholder", | ||
"pro", | ||
"jay[email protected]", | ||
"thomas[email protected]", | ||
"7.1.1", | ||
"Samsung Galaxy S10", | ||
"SM-G973F", | ||
|