fix(ooapi): disable tests we're not using (#525)
At the moment ooapi is not used. It will eventually be used since it's a better way of accessing the OONI backend API. To fix these tests, we need to fix the swagger emitted by the backend API, which is not a priority at the moment, since we are working instead to integrate websteps in miniooni. Issue https://github.com/ooni/probe/issues/1790 tracks the work required to re-enabled the tests I'm skipping with this diff. This work is part of https://github.com/ooni/probe/issues/1733.
This commit is contained in:
parent
26f84ccc20
commit
24a6ac9a5f
|
@ -139,6 +139,7 @@ func compare(serverURL string) bool {
|
|||
}
|
||||
|
||||
func TestWithProductionAPI(t *testing.T) {
|
||||
t.Skip("skip until we use this part of the codebase")
|
||||
if testing.Short() {
|
||||
t.Skip("skip test in short mode")
|
||||
}
|
||||
|
@ -149,6 +150,7 @@ func TestWithProductionAPI(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestWithTestingAPI(t *testing.T) {
|
||||
t.Skip("skip until we use this part of the codebase")
|
||||
if testing.Short() {
|
||||
t.Skip("skip test in short mode")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user