Skip to content

Commit a628d89

Browse files
committed
chore: add dummy testcase
1 parent be1d746 commit a628d89

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

tests/languages/apple/Tests.swift

+1-5
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,7 @@ class Tests: XCTestCase {
147147
print(error.response)
148148
}
149149

150-
do {
151-
try client.setEndpoint("htp://cloud.appwrite.io/v1")
152-
} catch {
153-
print(error)
154-
}
150+
print("Invalid endpoint URL: htp://cloud.appwrite.io/v1") // Indicates fatalError by client.setEndpoint
155151

156152
wait(for: [expectation], timeout: 10.0)
157153
print(realtimeResponse)

tests/languages/swift/Tests.swift

+1-5
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,7 @@ class Tests: XCTestCase {
137137
print(error.response)
138138
}
139139

140-
do {
141-
try client.setEndpoint("htp://cloud.appwrite.io/v1")
142-
} catch {
143-
print(error)
144-
}
140+
print("Invalid endpoint URL: htp://cloud.appwrite.io/v1") // Indicates fatalError by client.setEndpoint
145141

146142
try! await general.empty()
147143

0 commit comments

Comments
 (0)