feat: return open account

This commit is contained in:
Thalles 2023-10-08 21:58:48 -03:00
parent 87180a4cfc
commit c8ad9a0410
5 changed files with 29 additions and 22 deletions

View file

@ -52,7 +52,9 @@ func TestAuth(t *testing.T) {
func TestLoginOpenAccount(t *testing.T) {
scraper := twitterscraper.New()
if err := scraper.LoginOpenAccount(); err != nil {
_, err := scraper.LoginOpenAccount()
if err != nil {
t.Fatalf("LoginOpenAccount() error = %v", err)
}
}