Skip to content

Commit e0d6c75

Browse files
author
Vlad Velici
committed
Use identified connection in annotation tests
1 parent 257c4e6 commit e0d6c75

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/browser/modular.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,7 @@ function registerAblyModularTests(Helper) {
907907
FetchRequest,
908908
Annotations,
909909
},
910+
clientId: Helper.randomString(),
910911
}),
911912
);
912913

@@ -954,6 +955,7 @@ function registerAblyModularTests(Helper) {
954955
FetchRequest,
955956
Annotations,
956957
},
958+
clientId: Helper.randomString(),
957959
}),
958960
);
959961
const txRest = new BaseRest(

test/realtime/annotations.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ define(['shared_helper', 'chai'], function (Helper, chai) {
1414
done(err);
1515
return;
1616
}
17-
rest = helper.AblyRest();
17+
rest = helper.AblyRest({ clientId: 'test_client_1' });
1818
done();
1919
});
2020
});
2121

2222
beforeEach(async () => {
23-
realtime = helper.AblyRealtime();
23+
realtime = helper.AblyRealtime({ clientId: 'test_client_1' });
2424
});
2525

2626
afterEach(async () => {

0 commit comments

Comments
 (0)