[LLC] Deprecate setUser with connectUser

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-02-03 15:47:29 +05:30
parent ceb7cc0bdb
commit 3e43ba6dc7
6 changed files with 48 additions and 25 deletions
@@ -390,7 +390,7 @@ void main() {
});
group('user', () {
test('setUser should throw exception', () async {
test('connectUser should throw exception', () async {
final mockDio = MockDio();
when(mockDio.options).thenReturn(BaseOptions());
@@ -422,7 +422,7 @@ void main() {
httpClient: mockDio,
);
expect(() => client.setUserWithProvider(User(id: 'test-id')),
expect(() => client.connectUserWithProvider(User(id: 'test-id')),
throwsA(isA<Exception>()));
});