Skip to content

Commit a9fbe63

Browse files
committed
removed 'API returns all requested groups' after API fixes
1 parent f820c61 commit a9fbe63

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

tests/testthat/test-api-bugs.R

-23
Original file line numberDiff line numberDiff line change
@@ -91,29 +91,6 @@ test_that("There is case sensitivity on string equals", {
9191
expect_equal(d$query_results$total_hits, 0)
9292
})
9393

94-
test_that("API returns all requested groups", {
95-
skip_on_cran()
96-
97-
bad_eps <- c(
98-
"location" # Error: Invalid field: location_latitude
99-
100-
# TODO(any): Figure out why these are returning empty results:
101-
# , "uspc_mainclass" # Error: Internal Server Error
102-
# , "wipo" # Error: Internal Server Error
103-
104-
, "cpc_subclass" # 404? check the test query
105-
, "uspc_subclass" # 404
106-
, "pg_claim" # Invalid field: claim_dependent
107-
)
108-
109-
z <- lapply(bad_eps, function(x) {
110-
print(x)
111-
expect_error(
112-
j <- search_pv(query = TEST_QUERIES[[x]], endpoint = x, fields = get_fields(x))
113-
)
114-
})
115-
})
116-
11794
test_that("We can call all the legitimate HATEOAS endpoints", {
11895
skip_on_cran()
11996

0 commit comments

Comments
 (0)