We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fda389 commit fedf44fCopy full SHA for fedf44f
packages/gotrue/test/admin_test.dart
@@ -137,14 +137,13 @@ void main() {
137
138
test('deleteFactor() validates ids', () {
139
expect(
140
- () => client.admin
141
- ..mfa.deleteFactor(
142
- userId: 'invalid-id', factorId: 'invalid-factor-id'),
+ () => client.admin.mfa.deleteFactor(
+ userId: 'invalid-id', factorId: 'invalid-factor-id'),
143
throwsA(isA<ArgumentError>()));
144
145
146
147
- ..mfa.deleteFactor(userId: userId1, factorId: 'invalid-factor-id'),
+ () => client.admin.mfa
+ .deleteFactor(userId: userId1, factorId: 'invalid-factor-id'),
148
149
});
150
0 commit comments