update test
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user