Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangxuan committed Oct 30, 2019
1 parent 8ca7325 commit c1547a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/e2e/post.images.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ describe('post images 上传图片', () => {
appConfig._setOssClient(testAliOssClient)
appConfig._setImageNameSuffix(imageNameSuffix)
appConfig._setDeleteKeyCryptoKey(deleteKeyCryptoKeyTest)
appConfig._setDeleteKeyCryptoKey(deleteKeyCryptoKeyBackup)
})

afterAll(async () => {
await mongoose.disconnect()
appConfig._setImageNameSuffix(imageNameSuffixBackup)
appConfig._setDeleteKeyCryptoKey(deleteKeyCryptoKeyBackup)
})

afterEach(async () => {
Expand Down

0 comments on commit c1547a6

Please sign in to comment.