-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wip] 3886 – Clean up archiver tests (#411)
We had a lot of tests that were making real requests that weren't relevant to this test. So we decided to do a refactoring of the tests. What we did: 1. mock all requests 2. add new tests when needed 3. use one setup and teardown for all tests 4. skip tests related to video-archiving (we don't use this feature anymore, it will be dealt with in another ticket) 5. general clean up While working on the tests there were a few issues that appeared, I ended up dealing with them here (they should have been separate tickets/PRs): 1. skip_perma_cc_archiver should return true if key.nil? (commit) 2. mock perma_cc failed test and fix perma_cc error raising (commit) 3. deal with sidekiq warning (commit) 4. update how we update cache (commit)
- Loading branch information
1 parent
dc36adb
commit 8f362ae
Showing
5 changed files
with
466 additions
and
469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.