diff --git a/kong-1.3.0-0.rockspec b/kong-1.3.0-0.rockspec index 3b9eb658d61..d65e5c79dee 100644 --- a/kong-1.3.0-0.rockspec +++ b/kong-1.3.0-0.rockspec @@ -14,7 +14,7 @@ dependencies = { "inspect == 3.1.1", "luasec == 0.8", "luasocket == 3.0-rc1", - "penlight == 1.5.4", + "penlight == 1.7.0", "lua-resty-http == 0.15", "lua-resty-jit-uuid == 0.0.7", "multipart == 0.5.5", diff --git a/spec/01-unit/01-db/02-db-errors_spec.lua b/spec/01-unit/01-db/02-db-errors_spec.lua index 64b9afa8590..0e2caaa372c 100644 --- a/spec/01-unit/01-db/02-db-errors_spec.lua +++ b/spec/01-unit/01-db/02-db-errors_spec.lua @@ -52,7 +52,7 @@ describe("DB Errors", function() code = Errors.codes.INVALID_PRIMARY_KEY, name = "invalid primary key", strategy = "some_strategy", - message = [[invalid primary key: '{id2="missing2",id="missing"}']], + message = [[invalid primary key: '{id="missing",id2="missing2"}']], fields = pk, }, err_t) end) @@ -77,7 +77,7 @@ describe("DB Errors", function() code = Errors.codes.INVALID_FOREIGN_KEY, name = "invalid foreign key", strategy = "some_strategy", - message = [[invalid foreign key: '{id2="missing2",id="missing"}']], + message = [[invalid foreign key: '{id="missing",id2="missing2"}']], fields = pk, }, err_t) end)