From 1f83c1985390850a0829f4e88b6a6d4c6217c31e Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Wed, 18 May 2022 11:31:46 +0200 Subject: [PATCH] fix(backend api): re-enable previosuly disabled tests (#737) See https://github.com/ooni/probe/issues/2098 --- internal/cmd/apitool/main_test.go | 1 - internal/engine/probeservices/checkreportid_test.go | 1 - internal/ooapi/integration_test.go | 1 - 3 files changed, 3 deletions(-) diff --git a/internal/cmd/apitool/main_test.go b/internal/cmd/apitool/main_test.go index b9718be..4d9a299 100644 --- a/internal/cmd/apitool/main_test.go +++ b/internal/cmd/apitool/main_test.go @@ -11,7 +11,6 @@ func init() { } func TestCheck(t *testing.T) { - t.Skip("see https://github.com/ooni/probe/issues/2098") *mode = "check" main() } diff --git a/internal/engine/probeservices/checkreportid_test.go b/internal/engine/probeservices/checkreportid_test.go index 662423b..d43e3d2 100644 --- a/internal/engine/probeservices/checkreportid_test.go +++ b/internal/engine/probeservices/checkreportid_test.go @@ -14,7 +14,6 @@ import ( ) func TestCheckReportIDWorkingAsIntended(t *testing.T) { - t.Skip("see https://github.com/ooni/probe/issues/2098") client := probeservices.Client{ APIClientTemplate: httpx.APIClientTemplate{ BaseURL: "https://ams-pg.ooni.org/", diff --git a/internal/ooapi/integration_test.go b/internal/ooapi/integration_test.go index d539d81..0fca2f7 100644 --- a/internal/ooapi/integration_test.go +++ b/internal/ooapi/integration_test.go @@ -46,7 +46,6 @@ func TestWithRealServerDoCheckIn(t *testing.T) { } func TestWithRealServerDoCheckReportID(t *testing.T) { - t.Skip("see https://github.com/ooni/probe/issues/2098") if testing.Short() { t.Skip("skip test in short mode") }