diff options
| author | Michael Matloob <matloob@golang.org> | 2023-08-21 15:40:13 -0400 |
|---|---|---|
| committer | Michael Matloob <matloob@golang.org> | 2023-08-25 19:07:48 +0000 |
| commit | 3841ba374e90486051d46d443d472b09710b601a (patch) | |
| tree | 319976f7e8412b01b47dd1759d5841bcc7e98916 /internal/queue/gcpqueue/queue.go | |
| parent | 9c695c010996d1ae50a79ab32b7b5d53391a3a6b (diff) | |
| download | go-x-pkgsite-3841ba374e90486051d46d443d472b09710b601a.tar.xz | |
internal/frontend/versions: remove test dependence on postgres db
This CL implements GetVersionsForPath on FakeDataSource (and removes
the error return from GetSymbolHistory) so that the FakeDataSource can
be used to replace the postgres db in TestFetchPackageVersionsDetails,
and remove the postgresdb from the test entirely.
For golang/go#61399
Change-Id: I84833a35029457d0a0a30f8d96b8b6238934e65c
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/521123
kokoro-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'internal/queue/gcpqueue/queue.go')
0 files changed, 0 insertions, 0 deletions
