Skip to content

Commit 3784b4d

Browse files
committed
Temporarily disable realtime tests
1 parent 88d3a96 commit 3784b4d

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

tests/FlutterBetaTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FlutterBetaTest extends Base
2424
...Base::GENERAL_RESPONSES,
2525
...Base::LARGE_FILE_RESPONSES,
2626
...Base::EXCEPTION_RESPONSES,
27-
...Base::REALTIME_RESPONSES,
27+
//...Base::REALTIME_RESPONSES,
2828
...Base::COOKIE_RESPONSES,
2929
...Base::QUERY_HELPER_RESPONSES,
3030
...Base::PERMISSION_HELPER_RESPONSES,

tests/FlutterStableTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FlutterStableTest extends Base
2424
...Base::GENERAL_RESPONSES,
2525
...Base::LARGE_FILE_RESPONSES,
2626
...Base::EXCEPTION_RESPONSES,
27-
...Base::REALTIME_RESPONSES,
27+
//...Base::REALTIME_RESPONSES,
2828
...Base::COOKIE_RESPONSES,
2929
...Base::QUERY_HELPER_RESPONSES,
3030
...Base::PERMISSION_HELPER_RESPONSES,

tests/SwiftClient55Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SwiftClient55Test extends Base
2626
...Base::LARGE_FILE_RESPONSES,
2727
...Base::LARGE_FILE_RESPONSES,
2828
...Base::EXCEPTION_RESPONSES,
29-
...Base::REALTIME_RESPONSES,
29+
//...Base::REALTIME_RESPONSES,
3030
...Base::COOKIE_RESPONSES,
3131
...Base::QUERY_HELPER_RESPONSES,
3232
...Base::PERMISSION_HELPER_RESPONSES,

tests/languages/flutter/tests.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ void main() async {
9393
print(e.message);
9494
}
9595

96-
rtsub.stream.listen((message) {
97-
print(message.payload["response"]);
98-
rtsub.close();
99-
});
96+
// rtsub.stream.listen((message) {
97+
// print(message.payload["response"]);
98+
// rtsub.close();
99+
// });
100100

101101
await Future.delayed(Duration(seconds: 5));
102102

tests/languages/swift-client/Tests.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ class Tests: XCTestCase {
3131
let realtime = Realtime(client)
3232
var realtimeResponse = "Realtime failed!"
3333

34-
let expectation = XCTestExpectation(description: "realtime server")
35-
36-
realtime.subscribe(channels: ["tests"]) { message in
37-
realtimeResponse = message.payload!["response"] as! String
38-
expectation.fulfill()
39-
}
34+
// let expectation = XCTestExpectation(description: "realtime server")
35+
//
36+
// realtime.subscribe(channels: ["tests"]) { message in
37+
// realtimeResponse = message.payload!["response"] as! String
38+
// expectation.fulfill()
39+
// }
4040

4141
var mock: Mock
4242

@@ -132,8 +132,8 @@ class Tests: XCTestCase {
132132
print(error.localizedDescription)
133133
}
134134

135-
wait(for: [expectation], timeout: 10.0)
136-
print(realtimeResponse)
135+
// wait(for: [expectation], timeout: 10.0)
136+
// print(realtimeResponse)
137137

138138
mock = try await general.setCookie()
139139
print(mock.result)

0 commit comments

Comments
 (0)