Skip to content

Commit 9a1faec

Browse files
authored
Merge pull request #15 from Eomm/feature/fastify2
update fastify version to 2
2 parents 8cc3b65 + c90eec9 commit 9a1faec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"homepage": "https://github.com/fastify/fastify-oauth2#readme",
2626
"devDependencies": {
27-
"fastify": "^1.5.0",
27+
"fastify": "^2.0.1",
2828
"nock": "^9.3.2",
2929
"pre-commit": "^1.2.2",
3030
"simple-get": "^3.0.2",

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,6 @@ t.test('already decorated', t => {
318318
callbackUri: '/callback'
319319
})
320320
.ready(err => {
321-
t.strictSame(err.message, 'The decorator \'githubOAuth2\' has already been added!')
321+
t.strictSame(err.message, 'FST_ERR_DEC_ALREADY_PRESENT: The decorator \'githubOAuth2\' has already been added!')
322322
})
323323
})

0 commit comments

Comments
 (0)