[pkgsite] internal/api: test licenses and imports params

0 views
Skip to first unread message

Jonathan Amsterdam (Gerrit)

unread,
Apr 9, 2026, 3:22:14 PM (12 hours ago) Apr 9
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Ethan Lee, kokoro, Go LUCI, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

Jonathan Amsterdam submitted the change

Change information

Commit message:
internal/api: test licenses and imports params

Test the "licenses" and "imports" query params for the packages route.
Change-Id: I46c7dd18f0eb2e104d124d2d724039f920247e5b
TryBot-Bypass: Jonathan Amsterdam <j...@google.com>
Reviewed-by: Ethan Lee <etha...@google.com>
Auto-Submit: Jonathan Amsterdam <j...@google.com>
Files:
  • M internal/api/api_test.go
  • M internal/testing/fakedatasource/fakedatasource.go
Change size: M
Delta: 2 files changed, 52 insertions(+), 2 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Ethan Lee
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI, TryBot-Bypass+1 by Jonathan Amsterdam
  • requirement satisfiedkokoro-CI-Passes: kokoro-CI-1 by kokoro, TryBot-Bypass+1 by Jonathan Amsterdam
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: I46c7dd18f0eb2e104d124d2d724039f920247e5b
Gerrit-Change-Number: 764540
Gerrit-PatchSet: 2
Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
Gerrit-Reviewer: Ethan Lee <etha...@google.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
Gerrit-Reviewer: kokoro <noreply...@google.com>
Gerrit-CC: kokoro <noreply...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages