Closed ssinnott closed 2 years ago
Found it (I think). This seems to work locally but I still see the tests are failing here.
==> Testing R file using 'testthat'
ℹ Loading rscloud
Using `user_id` column.
Using `user_id` column.
══ Testing test-projects.R ═════════════════════════════════════════════════════
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
── Failure (test-projects.R:9:3): project listing works ────────────────────────
`projs` (`actual`) not identical to c("test-project-1", "test-project-2") (`expected`).
`actual`: "test-project-2" "test-project-1"
`expected`: "test-project-1" "test-project-2"
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
Test complete
I think the test failures are the same issue as before so we'll need to tend to them later, but doesn't need to hold this PR up.
This transitions the space projects call to a new set of endpoints that are more optimized for handling requests for projects in a space.
This also tweaks a spot in the space serialization where the name of the count has changed.