From f79e45be664b6957ce16704a6e629ec140eb91a9 Mon Sep 17 00:00:00 2001 From: "makabe.t" Date: Fri, 18 Aug 2023 02:48:10 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20336:=20pipeline=E3=83=86=E3=82=B9?= =?UTF-8?q?=E3=83=88=E5=A4=B1=E6=95=97=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task2439: pipelineテスト失敗対応](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2439) - パイプライン上でパートナー追加のテストが失敗する問題を修正しました。 - 上書きするべきメソッドが違っていたため、本物メソッドが呼ばれてCICD環境の環境変数にない秘密鍵を使おうとして失敗していました。 - テストで上書きするメソッドを正しいものに差し替えました。 ## レビューポイント - 対応内容に問題はないか ## UIの変更 - なし ## 動作確認状況 - ローカルで確認 - local.envの秘密鍵をコメントアウトしてテスト実行でエラー再現、修正適用で解消されることを確認 ## 補足 - 相談、参考資料などがあれば --- .../src/features/accounts/accounts.service.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dictation_server/src/features/accounts/accounts.service.spec.ts b/dictation_server/src/features/accounts/accounts.service.spec.ts index 2a151a5..39a78df 100644 --- a/dictation_server/src/features/accounts/accounts.service.spec.ts +++ b/dictation_server/src/features/accounts/accounts.service.spec.ts @@ -1441,7 +1441,7 @@ describe('createPartnerAccount', () => { sendMail: async () => { return; }, - createMailContentFromEmailConfirm: async () => { + createMailContentFromEmailConfirmForNormalUser: async () => { return { html: '', text: '', subject: '' }; }, }); @@ -1508,7 +1508,7 @@ describe('createPartnerAccount', () => { sendMail: async () => { return; }, - createMailContentFromEmailConfirm: async () => { + createMailContentFromEmailConfirmForNormalUser: async () => { return { html: '', text: '', subject: '' }; }, }); @@ -1563,7 +1563,7 @@ describe('createPartnerAccount', () => { sendMail: async () => { return; }, - createMailContentFromEmailConfirm: async () => { + createMailContentFromEmailConfirmForNormalUser: async () => { return { html: '', text: '', subject: '' }; }, }); @@ -1618,7 +1618,7 @@ describe('createPartnerAccount', () => { sendMail: async () => { return; }, - createMailContentFromEmailConfirm: async () => { + createMailContentFromEmailConfirmForNormalUser: async () => { return { html: '', text: '', subject: '' }; }, });