fix tests for home methods
This commit is contained in:
parent
b2f31cbe99
commit
58b161596d
1 changed files with 2 additions and 2 deletions
|
|
@ -310,7 +310,7 @@ func TestFetchHomeTweets(t *testing.T) {
|
||||||
if skipAuthTest {
|
if skipAuthTest {
|
||||||
t.Skip("Skipping test due to environment variable")
|
t.Skip("Skipping test due to environment variable")
|
||||||
}
|
}
|
||||||
tweets, _, err := testScraper.FetchHomeTweets("", 20, "")
|
tweets, _, err := testScraper.FetchHomeTweets(20, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
@ -383,7 +383,7 @@ func TestFetchForYouTweets(t *testing.T) {
|
||||||
if skipAuthTest {
|
if skipAuthTest {
|
||||||
t.Skip("Skipping test due to environment variable")
|
t.Skip("Skipping test due to environment variable")
|
||||||
}
|
}
|
||||||
tweets, _, err := testScraper.FetchForYouTweets("", 20, "")
|
tweets, _, err := testScraper.FetchForYouTweets(20, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue