From 7e5e2348ea49288fd365f28f679eb34a6a2c0565 Mon Sep 17 00:00:00 2001 From: avif Date: Tue, 2 Apr 2024 21:50:51 +0300 Subject: [PATCH] chore(cookie-affinity): Fix typos in tests --- rootfs/etc/nginx/lua/test/balancer/sticky_test.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/etc/nginx/lua/test/balancer/sticky_test.lua b/rootfs/etc/nginx/lua/test/balancer/sticky_test.lua index e3349f887..37c2c2f93 100644 --- a/rootfs/etc/nginx/lua/test/balancer/sticky_test.lua +++ b/rootfs/etc/nginx/lua/test/balancer/sticky_test.lua @@ -542,13 +542,13 @@ describe("Sticky", function() assert.spy(s).was_called() end - it("returns a secure cookie with Partitioned when user specifies partitioned=true", function() + it("returns a cookie with Partitioned when user specifies partitioned=true", function() test_set_cookie_with(sticky_balanced, "/", true, true) end) - it("returns a secure cookie with without Partitioned when user specifies partitioned=false", function() + it("returns a cookie without Partitioned when user specifies partitioned=false", function() test_set_cookie_with(sticky_balanced, "/", false, false) end) - it("returns a secure cookie with without Partitioned when user does not specify partitioned", function() + it("returns a cookie without Partitioned when user does not specify partitioned", function() test_set_cookie_with(sticky_balanced, "/", nil, false) end) end)