chore: switch HTTP 100 test case values (#10858)

This commit is contained in:
Joshua Powers 2022-03-24 10:56:09 -07:00 committed by GitHub
parent c2277fa2fc
commit e4b9924625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ func TestStatusCode(t *testing.T) {
plugin: &HTTP{
URL: u.String(),
},
statusCode: 103,
statusCode: http.StatusSwitchingProtocols,
errFunc: func(t *testing.T, err error) {
require.Error(t, err)
},

View File

@ -87,7 +87,7 @@ func TestStatusCode(t *testing.T) {
plugin: &Loki{
Domain: u.String(),
},
statusCode: 103,
statusCode: http.StatusSwitchingProtocols,
errFunc: func(t *testing.T, err error) {
require.Error(t, err)
},