Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stub Solr inside of all tests #1097

Open
Janell-Huyck opened this issue Nov 1, 2023 · 0 comments
Open

Stub Solr inside of all tests #1097

Janell-Huyck opened this issue Nov 1, 2023 · 0 comments

Comments

@Janell-Huyck
Copy link
Contributor

We're calling Solr directly inside a few dozen different spec files. This doesn't follow best practices, and also makes the tests run slower. Let's add a universal stub to all tests inside the rails_helper.rb file that will change all the test calls to Solr into stubs and prevent future accidental calls to Solr from within the testing suite.

@Janell-Huyck Janell-Huyck self-assigned this Nov 1, 2023
@scherztc scherztc added this to the Security and Maintenance milestone Nov 6, 2023
@Janell-Huyck Janell-Huyck removed their assignment Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants