Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test for searches with multiple detections
** Why are these changes being introduced: * Some of our search traffic may meet conditions of multiple detections. We need our reports to correctly count these events in all relevant categories. ** Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/tco-43 ** How does this address that need: * This starts by creating a single term fixture that should trigger more than one detector - a citation which includes both a DOI and PubMedID for an article. * A new test is also created, which generates a report based only on a search for this term, which asserts that two different counters should have non-zero numbers. ** Document any side effects to this change: * It is a bit awkward to have too many tests that start by deleting existing records from our fixtures - but we're not yet at the point where we'd need something like a factory. We'll talk about that at some point if the need more clearly arises.
- Loading branch information