TF-836: add unit_test in bitrise

This commit is contained in:
ManhNTX
2022-08-16 11:19:16 +07:00
committed by Dat H. Pham
parent 3c860cfb5e
commit a47d15c98f
8 changed files with 18 additions and 47 deletions
@@ -77,7 +77,7 @@ void main() {
final getForwardMethod = GetForwardMethod(accountId)
..addIds({ForwardIdSingleton.forwardIdSingleton.id});
final getRuleFilterInvocation =
final getForwardInvocation =
requestBuilder.invocation(getForwardMethod);
final response = await (requestBuilder
..usings(getForwardMethod.requiredCapabilities))
@@ -85,7 +85,7 @@ void main() {
.execute();
final resultList = response.parse<GetForwardResponse>(
getRuleFilterInvocation.methodCallId,
getForwardInvocation.methodCallId,
GetForwardResponse.deserialize);
expect(resultList?.list.length, equals(1));