Skip to content

Commit 00e13f9

Browse files
authored
Merge pull request #255 from KyleWiese/main
Bump golang version and update unit tests to reflect new mtls error string
2 parents 1b352db + 15d7c5c commit 00e13f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
name: Set up Go
3131
uses: actions/setup-go@v2
3232
with:
33-
go-version: 1.16
33+
go-version: 1.21
3434
-
3535
name: Reviewdog Lint
3636
uses: reviewdog/action-golangci-lint@v1
@@ -48,7 +48,7 @@ jobs:
4848
name: Set up Go
4949
uses: actions/setup-go@v2
5050
with:
51-
go-version: 1.16
51+
go-version: 1.21
5252
-
5353
name: Run Unit tests
5454
run: go test -coverprofile=coverage.txt ./...

apigee/edge_client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ func TestMutualTLSNoCerts(t *testing.T) {
283283
}
284284

285285
_, err = c.Do(req, nil)
286-
testutil.ErrorContains(t, err, "remote error: tls: bad certificate")
286+
testutil.ErrorContains(t, err, "remote error: tls: certificate required")
287287
}
288288

289289
func newMutualTLSServer() *httptest.Server {

0 commit comments

Comments
 (0)