File tree 1 file changed +2
-2
lines changed
rootfs/etc/nginx/lua/test
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ describe("Balancer", function()
447
447
}
448
448
}
449
449
450
- helpers .mock_resty_dns_query (" example.com" , nil , " Mock was instructed to return error" )
450
+ helpers .mock_resty_dns_query (" example.com" , {} , " Mock was instructed to return error" )
451
451
local mock_instance = { sync = function (backend ) end }
452
452
setmetatable (mock_instance , implementation )
453
453
implementation .new = function (self , backend ) return mock_instance end
@@ -463,7 +463,7 @@ describe("Balancer", function()
463
463
endpoints = nil
464
464
}
465
465
466
- helpers .mock_resty_dns_query (" example.com" , nil , " Mock was instructed to return error" )
466
+ helpers .mock_resty_dns_query (" example.com" , {} , " Mock was instructed to return error" )
467
467
local mock_instance = { sync = function (backend ) end }
468
468
setmetatable (mock_instance , implementation )
469
469
implementation .new = function (self , backend ) return mock_instance end
You can’t perform that action at this time.
0 commit comments