2fas-server/tests/mobile/mobile_security_test.go
2023-01-30 19:59:42 +01:00

24 lines
464 B
Go

package tests
import (
"github.com/google/uuid"
"github.com/twofas/2fas-server/tests"
"testing"
)
func Test_MobileApiBandwidthAbuse(t *testing.T) {
someId := uuid.New()
for i := 0; i <= 100; i++ {
tests.DoGet("/mobile/devices/"+someId.String()+"/browser_extensions", nil)
}
}
func Test_BrowserExtensionApiBandwidthAbuse(t *testing.T) {
someId := uuid.New()
for i := 0; i <= 100; i++ {
tests.DoGet("/browser_extensions/"+someId.String(), nil)
}
}