Merged PR 709: テスト対応もれ修正
## 概要 [Task3589: テスト対応もれ修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3589) - バグ対応で漏れていたテスト修正を実施しました。 ## レビューポイント - 共有 ## UIの変更 -なし ## 動作確認状況 - ローカルで確認
This commit is contained in:
parent
271d85482d
commit
794dae0c15
@ -192,8 +192,8 @@ describe('ライセンス注文', () => {
|
|||||||
await service.licenseOrders(context, externalId, poNumber, orderCount);
|
await service.licenseOrders(context, externalId, poNumber, orderCount);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e instanceof HttpException) {
|
if (e instanceof HttpException) {
|
||||||
expect(e.getStatus()).toEqual(HttpStatus.INTERNAL_SERVER_ERROR);
|
expect(e.getStatus()).toEqual(HttpStatus.BAD_REQUEST);
|
||||||
expect(e.getResponse()).toEqual(makeErrorResponse('E009999'));
|
expect(e.getResponse()).toEqual(makeErrorResponse('E010501'));
|
||||||
} else {
|
} else {
|
||||||
fail();
|
fail();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user