internal/frontend: fix TestServer
Fix broken TestServer due to merge order issue with CL 277512 and
CL 277698.
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
Trust: Julie Qiu
@@ -544,7 +544,7 @@ func serverTestCases() []serverTestCase {
FormattedVersion: "v0.69.0",
LicenseType: "MIT",
LicenseFilePath: "LICENSE",
- IsLatestMinor: true,
+ IsLatestMinor: false,
IsLatestMajor: true,
UnitURLFormat: "/cloud.google.com/go%s/pubsublite",
LatestLink: "/cloud.google.com/go/pubsublite",
@@ -559,7 +559,7 @@ func serverTestCases() []serverTestCase {
FormattedVersion: "v0.4.0",
LicenseType: "MIT",
LicenseFilePath: "LICENSE",
- IsLatestMinor: false,
+ IsLatestMinor: true,
IsLatestMajor: true,
UnitURLFormat: "/cloud.google.com/go/pubsublite%s",
LatestLink: "/cloud.google.com/go/pubsublite",
@@ -911,7 +911,7 @@ func serverTestCases() []serverTestCase {
urlPath: "/cloud.google.com/go/pubsublite",
wantStatusCode: http.StatusOK,
want: in("",
- pagecheck.UnitHeader(pubsubliteDir, unversioned, isPackage)),
+ pagecheck.UnitHeader(pubsubliteMod, unversioned, isPackage)),
},
{
name: "pubsublite module",
