Refactor tests and enhance functionality for Domain::Fa and Domain::E621

- Removed outdated tests for Domain::Fa::PostsController and Domain::Fa::UsersController.
- Added new tests for Domain::Fa::PostsController to verify successful responses for the show action.
- Introduced a new UsersController spec to test the show action for user retrieval.
- Created a factory for Domain::E621::Post to streamline test data creation.
- Added comprehensive tests for BlobFile model, ensuring correct functionality and file operations.
- Implemented tests for HttpLogEntryHeader and LogStoreSstEntry models to validate header scrubbing and version parsing.
- Deleted obsolete test files and directories to clean up the test suite.
This commit is contained in:
Dylan Knutson
2024-12-30 20:11:06 +00:00
parent 15c11b2b89
commit 52498b3cc2
27 changed files with 196 additions and 418 deletions

View File

@@ -17,5 +17,4 @@ psql-dump-domain-fa-favs:
@psql -P pager=off -c 'select user_id, post_id, 1 from domain_fa_favs limit 10000000;' -d redux_prod -h 10.166.33.171 -U scraper_redux -t -A -F ' '
test:
bin/rails test
bin/rake parallel:spec