Skip to content

Commit aa07203

Browse files
committed
refactor: change path
1 parent 4a2db82 commit aa07203

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

Dockerfile.nginx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apk add --no-cache git cmake make gcc g++ jansson-dev openssl-dev
55

66

77
COPY ./nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
8-
COPY ./lib/resty/* /usr/local/openresty/lualib/resty/
8+
COPY ./lib/resty/libjwt /usr/local/openresty/lualib/resty/libjwt
99

1010
RUN git clone https://github.com/benmcollins/libjwt.git
1111
RUN mkdir libjwt/build
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
local jwks_c = require("resty.jwks_c")
2-
local utils = require("resty.utils")
1+
local jwks_c = require("resty.libjwt.jwks_c")
2+
local utils = require("resty.libjwt.utils")
33
local _M = {}
44

55
local open = io.open

test/get_token_test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local lu = require('luaunit')
2-
local utils = require('../lib/resty/utils')
2+
local utils = require('../lib/resty/libjwt/utils')
33

44
function TestShouldReturnErrorWhenNotFindingTheToken()
55
local headers = {

test/params_test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local lu = require('luaunit')
2-
local utils = require('../lib/resty/utils')
2+
local utils = require('../lib/resty/libjwt/utils')
33

44

55
function TestShouldReturnUndefinedWhenParamsIsNil()

test/split_test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local lu = require('luaunit')
2-
local utils = require('../lib/resty/utils')
2+
local utils = require('../lib/resty/libjwt/utils')
33

44

55
function TestShouldReturnErrorBecauseIsNotStringOfParam()

0 commit comments

Comments
 (0)