mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
test fix
This commit is contained in:
parent
3b34cb6112
commit
706b886fd3
1 changed files with 10 additions and 5 deletions
|
@ -121,7 +121,8 @@ void main() {
|
||||||
|
|
||||||
final result = await ChangeNowAPI.instance.getAvailableCurrencies();
|
final result = await ChangeNowAPI.instance.getAvailableCurrencies();
|
||||||
|
|
||||||
expect(result.exception!.type, ExchangeExceptionType.generic);
|
expect(
|
||||||
|
result.exception!.type, ExchangeExceptionType.serializeResponseError);
|
||||||
expect(result.value == null, true);
|
expect(result.value == null, true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -263,7 +264,8 @@ void main() {
|
||||||
apiKey: "testAPIKEY",
|
apiKey: "testAPIKEY",
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(result.exception!.type, ExchangeExceptionType.generic);
|
expect(
|
||||||
|
result.exception!.type, ExchangeExceptionType.serializeResponseError);
|
||||||
expect(result.value == null, true);
|
expect(result.value == null, true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -470,7 +472,8 @@ void main() {
|
||||||
apiKey: "testAPIKEY",
|
apiKey: "testAPIKEY",
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(result.exception!.type, ExchangeExceptionType.generic);
|
expect(
|
||||||
|
result.exception!.type, ExchangeExceptionType.serializeResponseError);
|
||||||
expect(result.value == null, true);
|
expect(result.value == null, true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -721,7 +724,8 @@ void main() {
|
||||||
apiKey: "testAPIKEY",
|
apiKey: "testAPIKEY",
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(result.exception!.type, ExchangeExceptionType.generic);
|
expect(
|
||||||
|
result.exception!.type, ExchangeExceptionType.serializeResponseError);
|
||||||
expect(result.value == null, true);
|
expect(result.value == null, true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -779,7 +783,8 @@ void main() {
|
||||||
final result =
|
final result =
|
||||||
await ChangeNowAPI.instance.getAvailableFloatingRatePairs();
|
await ChangeNowAPI.instance.getAvailableFloatingRatePairs();
|
||||||
|
|
||||||
expect(result.exception!.type, ExchangeExceptionType.generic);
|
expect(
|
||||||
|
result.exception!.type, ExchangeExceptionType.serializeResponseError);
|
||||||
expect(result.value == null, true);
|
expect(result.value == null, true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue