Skip to content

Commit 95c1413

Browse files
committed
test: fix apigw test function name
1 parent fe6cb98 commit 95c1413

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

__tests__/apigw.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('apigw', () => {
4646
method: 'GET',
4747
apiName: 'index',
4848
function: {
49-
functionName: 'egg-function',
49+
functionName: 'serverless-unit-test',
5050
},
5151
},
5252
{
@@ -90,8 +90,8 @@ describe('apigw', () => {
9090
function: {
9191
functionNamespace: 'default',
9292
functionQualifier: '$DEFAULT',
93-
transportFunctionName: 'fullstack-api',
94-
registerFunctionName: 'myRestAPI',
93+
transportFunctionName: 'serverless-unit-test',
94+
registerFunctionName: 'serverless-unit-test',
9595
},
9696
},
9797
// below two api is for oauth2.0 test

0 commit comments

Comments
 (0)