Browse Source

tests: actually fix derp

master
Lukas Burk 10 months ago
parent
commit
d50320cb68
Signed by: lukas GPG Key ID: 044E8B20BB186F81
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      tests/testthat/test-user-ratings.R
  2. +1
    -1
      tests/testthat/test-user-watched.R

+ 2
- 2
tests/testthat/test-user-ratings.R View File

@ -20,10 +20,10 @@ test_that("user_ratings works", {
# Multiple users ----
user_ratings(c(user, user), type = "shows") %>%
expect_is("tbl_df") %>%
expect_length(10)
expect_length(11)
user_ratings(c(user, user), type = "movies") %>%
expect_is("tbl_df") %>%
expect_length(9)
expect_length(10)
# TODO: Make this actually work maybe?
# user_ratings(c(user, user), type = "seasons") %>%


+ 1
- 1
tests/testthat/test-user-watched.R View File

@ -22,7 +22,7 @@ test_that("user_watched works", {
# movies ----
user_watched(user = user, type = "movies") %>%
expect_is("tbl_df") %>%
expect_length(10)
expect_length(9)
# Multiples


Loading…
Cancel
Save