Fixed new message order and new message sizes
This commit is contained in:
parent
9e3d25e93e
commit
5ee3a98894
|
@ -69,14 +69,15 @@ class MessageBuilderTest : FinTsTestBase() {
|
||||||
|
|
||||||
// then
|
// then
|
||||||
assertThat(normalizeBinaryData(result)).isEqualTo(normalizeBinaryData(
|
assertThat(normalizeBinaryData(result)).isEqualTo(normalizeBinaryData(
|
||||||
"HNHBK:1:3+000000000386+300+0+1'" +
|
"HNHBK:1:3+000000000398+300+0+1'" +
|
||||||
"HNVSK:998:3+PIN:2+998+1+1::0+1:$Date:$Time+2:16:14:@8@ :5:1+280:$BankCode:$CustomerId:V:0:0+0'" +
|
"HNVSK:998:3+PIN:2+998+1+1::0+1:$Date:$Time+2:16:14:@8@ :5:1+280:$BankCode:$CustomerId:V:0:0+0'" +
|
||||||
"HNVSD:999:1+@221@" + "HNSHK:2:4+PIN:2+${SecurityFunction.code}+$ControlReference+1+1+1::0+1+1:$Date:$Time+1:999:1+6:10:16+280:$BankCode:$CustomerId:S:0:0'" +
|
"HNVSD:999:1+@234@" + "HNSHK:2:4+PIN:2+${SecurityFunction.code}+$ControlReference+1+1+1::0+1+1:$Date:$Time+1:999:1+6:10:16+280:$BankCode:$CustomerId:S:0:0'" +
|
||||||
"HKIDN:3:2+280:$BankCode+$CustomerId+0+1'" +
|
"HKIDN:3:2+280:$BankCode+$CustomerId+0+0'" +
|
||||||
"HKVVB:4:3+0+0+${Language.code}+$ProductName+$ProductVersion'" +
|
"HKVVB:4:3+0+0+${Language.code}+$ProductName+$ProductVersion'" +
|
||||||
"HKTAN:5:6+4+HKIDN++++N'" +
|
"HKTAN:5:6+4+HKIDN'" +
|
||||||
"HNSHA:6:2+$ControlReference++$Pin''" +
|
"HKSYN:6:3+0'" +
|
||||||
"HNHBS:7:1+1'"
|
"HNSHA:7:2+$ControlReference++$Pin''" +
|
||||||
|
"HNHBS:8:1+1'"
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,11 +93,11 @@ class MessageBuilderTest : FinTsTestBase() {
|
||||||
|
|
||||||
// then
|
// then
|
||||||
assertThat(normalizeBinaryData(result)).isEqualTo(normalizeBinaryData(
|
assertThat(normalizeBinaryData(result)).isEqualTo(normalizeBinaryData(
|
||||||
"HNHBK:1:3+000000000340+300+$dialogId+1'" +
|
"HNHBK:1:3+000000000329+300+$dialogId+1'" +
|
||||||
"HNVSK:998:3+PIN:2+998+1+1::0+1:$Date:$Time+2:16:14:@8@ :5:1+280:$BankCode:$CustomerId:V:0:0+0'" +
|
"HNVSK:998:3+PIN:2+998+1+1::0+1:$Date:$Time+2:16:14:@8@ :5:1+280:$BankCode:$CustomerId:V:0:0+0'" +
|
||||||
"HNVSD:999:1+@177@" + "HNSHK:2:4+PIN:2+${SecurityFunction.code}+$ControlReference+1+1+1::0+1+1:$Date:$Time+1:999:1+6:10:16+280:$BankCode:$CustomerId:S:0:0'" +
|
"HNVSD:999:1+@165@" + "HNSHK:2:4+PIN:2+${SecurityFunction.code}+$ControlReference+1+1+1::0+1+1:$Date:$Time+1:999:1+6:10:16+280:$BankCode:$CustomerId:S:0:0'" +
|
||||||
"HNSHA:3:2+$ControlReference++$Pin''" +
|
"HKEND:3:1+$dialogId'" +
|
||||||
"HKEND:4:1+$dialogId'" +
|
"HNSHA:4:2+$ControlReference++$Pin''" +
|
||||||
"HNHBS:5:1+1'"
|
"HNHBS:5:1+1'"
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue