skip tests that requires auth

This commit is contained in:
Valentine 2024-03-08 19:23:39 +03:00
parent 02625a94bd
commit b29bf22ac1
6 changed files with 21 additions and 9 deletions

View file

@ -6,6 +6,9 @@ import (
)
func TestGetMedias(t *testing.T) {
if skipAuthTest {
t.Skip("Skipping test due to environment variable")
}
count := 0
maxTweetsNbr := 20
dupcheck := make(map[string]bool)