From 794dae0c15b54105e0ca0987734df21760e0d614 Mon Sep 17 00:00:00 2001 From: "makabe.t" Date: Fri, 26 Jan 2024 08:58:08 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20709:=20=E3=83=86=E3=82=B9?= =?UTF-8?q?=E3=83=88=E5=AF=BE=E5=BF=9C=E3=82=82=E3=82=8C=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task3589: テスト対応もれ修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3589) - バグ対応で漏れていたテスト修正を実施しました。 ## レビューポイント - 共有 ## UIの変更 -なし ## 動作確認状況 - ローカルで確認 --- .../src/features/licenses/licenses.service.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dictation_server/src/features/licenses/licenses.service.spec.ts b/dictation_server/src/features/licenses/licenses.service.spec.ts index c3473ab..22be77f 100644 --- a/dictation_server/src/features/licenses/licenses.service.spec.ts +++ b/dictation_server/src/features/licenses/licenses.service.spec.ts @@ -192,8 +192,8 @@ describe('ライセンス注文', () => { await service.licenseOrders(context, externalId, poNumber, orderCount); } catch (e) { if (e instanceof HttpException) { - expect(e.getStatus()).toEqual(HttpStatus.INTERNAL_SERVER_ERROR); - expect(e.getResponse()).toEqual(makeErrorResponse('E009999')); + expect(e.getStatus()).toEqual(HttpStatus.BAD_REQUEST); + expect(e.getResponse()).toEqual(makeErrorResponse('E010501')); } else { fail(); }