Skip to content

Commit

Permalink
Fixing test to not test on Travis (due to rate limiting).
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Nov 16, 2017
1 parent 39e366f commit 536589f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/testthat/test-zero_hist.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
test_that("Zero in Hist", {

# Fixes issue in https://github.com/muschellij2/gcite/issues/2
user = "juybEFMAAAAJ"
url = gcite_user_url(user = user)
expect_silent(gcite_cite_over_time(doc = url))
if (!is_travis()) {
# Fixes issue in https://github.com/muschellij2/gcite/issues/2
user = "juybEFMAAAAJ"
url = gcite_user_url(user = user)
expect_silent(gcite_cite_over_time(doc = url))
}
})

0 comments on commit 536589f

Please sign in to comment.