Added tests for higher coverage
This commit is contained in:
parent
ad4a43f09d
commit
3ae0e51110
13
tests.go
13
tests.go
@ -205,6 +205,19 @@ var routeTests = map[string][]string{
|
|||||||
"/images/elements/no-avatar.svg",
|
"/images/elements/no-avatar.svg",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Extra tests for higher coverage
|
||||||
|
"/_/+Akyoto": []string{
|
||||||
|
"/_/+Akyoto",
|
||||||
|
},
|
||||||
|
|
||||||
|
"/_/search/dragon": []string{
|
||||||
|
"/_/search/dragon",
|
||||||
|
},
|
||||||
|
|
||||||
|
"/dark-flame-master": []string{
|
||||||
|
"/dark-flame-master",
|
||||||
|
},
|
||||||
|
|
||||||
// Disable these tests because they require authorization
|
// Disable these tests because they require authorization
|
||||||
"/auth/google": nil,
|
"/auth/google": nil,
|
||||||
"/auth/google/callback": nil,
|
"/auth/google/callback": nil,
|
||||||
|
Loading…
Reference in New Issue
Block a user