Add LoginOpenAccount

Close #101 again
This commit is contained in:
Alexander Sheiko 2023-05-30 17:31:00 +03:00
parent 16e8b34638
commit e52022e31a
10 changed files with 224 additions and 34 deletions

View file

@ -37,3 +37,10 @@ func TestAuth(t *testing.T) {
t.Error("Expected IsLoggedIn() = false")
}
}
func TestLoginOpenAccount(t *testing.T) {
scraper := twitterscraper.New()
if err := scraper.LoginOpenAccount(); err != nil {
t.Fatalf("LoginOpenAccount() error = %v", err)
}
}