Skip to content

Commit

Permalink
fail tests, watch CI fail
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcastilloavant committed Jun 6, 2016
1 parent 8cb9b7d commit 4686a5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-api_calls.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ with_mock(
`httr::DELETE` = function(...) NULL,
`httr::add_headers` = function(Authorization) paste0("Authorization is ", Authorization), {

test_that("Circle catches test failures", {
expect_equal(1,2)
})
test_that("login_api_call passes url to httr::POST", {
with_mock(`httr::POST` = function(url) {
identical(url,"https://fake.looker.com:111/api/3.0/login?client_id=FAKE_ID&client_secret=FAKE_SECRET")
Expand Down

0 comments on commit 4686a5d

Please sign in to comment.