update test

This commit is contained in:
Neevash Ramdial
2021-01-22 06:47:28 -04:00
parent c50b4938e2
commit e7b4e9acd6
@@ -269,7 +269,7 @@ void main() {
'push_provider': 'test',
})).thenAnswer((_) async => Response(data: '{}', statusCode: 200));
await client.addDevice('test-id', 'test');
await client.addDevice('test-id', PushProvider.firebase);
verify(mockDio.post<String>('/devices',
data: {'id': 'test-id', 'push_provider': 'test'})).called(1);