fix tests

This commit is contained in:
Salvatore Giordano
2021-04-19 15:11:40 +02:00
parent 07196eab96
commit 5c5c4bbc3f
4 changed files with 10 additions and 11 deletions
@@ -1200,8 +1200,8 @@ void main() {
verify(() => mockDio.post<String>('/channels/messaging/query',
data: options)).called(1);
expect(channelClient.id, response?.channel?.id);
expect(channelClient.cid, response?.channel?.cid);
expect(channelClient.id, response.channel?.id);
expect(channelClient.cid, response.channel?.cid);
});
test('with id', () async {
@@ -1837,8 +1837,8 @@ void main() {
verify(() => mockDio.post<String>('/channels/messaging/query',
data: options)).called(1);
expect(channelClient.id, response?.channel?.id);
expect(channelClient.cid, response?.channel?.cid);
expect(channelClient.id, response.channel?.id);
expect(channelClient.cid, response.channel?.cid);
});
test('watch', () async {