Skip to content

Commit

Permalink
fix service_spec unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Nov 3, 2023
1 parent 9efa110 commit a5b73fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/configuration/service_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ local Service = require 'apicast.configuration.service'

describe('Service object', function()
describe(':credentials', function()
stub(ngx.req, 'http_version', function() return 1.1 end)

describe('backend_version=1', function()
it('returns only GET parameters', function()
Expand Down

0 comments on commit a5b73fc

Please sign in to comment.