search: use RepoStore.Mock in repo resolver tests
Created by: keegancsmith
We stop using global mocks. Additionally because we now directly pass in a store, we don't need to pass in a DB. This avoid creating an unused database for the unit test, which on my computer speeds the test up from 1.5s to 0.5s.