Skip to content

Commit 0bdc6fa

Browse files
committed
test: restore delay and expect access_token instead of user_token
1 parent 3047e9c commit 0bdc6fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/realtime_client/test/socket_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ void main() {
423423
});
424424

425425
group('setAuth', () {
426-
final updateJoinPayload = {'user_token': 'token123'};
426+
final updateJoinPayload = {'acess_token': 'token123'};
427427
final pushPayload = {'access_token': 'token123'};
428428

429429
test(

packages/supabase/test/mock_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ void main() {
165165
webSocket!.add(replyString);
166166

167167
// Send an insert event
168-
await Future.delayed(Duration(milliseconds: 100));
168+
await Future.delayed(Duration(milliseconds: 10));
169169
final insertString = jsonEncode({
170170
'topic': topic,
171171
'event': 'postgres_changes',

0 commit comments

Comments
 (0)