mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Conform URL to ExpressibleByStringLiteral (#1214)
This commit is contained in:
@@ -47,8 +47,8 @@ class BugReportServiceTests: XCTestCase {
|
||||
}
|
||||
|
||||
func testInitialStateWithRealService() throws {
|
||||
let service = BugReportService(withBaseURL: URL(staticString: "https://www.example.com"),
|
||||
sentryURL: URL(staticString: "https://1234@sentry.com/1234"),
|
||||
let service = BugReportService(withBaseURL: "https://www.example.com",
|
||||
sentryURL: "https://1234@sentry.com/1234",
|
||||
applicationId: "mock_app_id",
|
||||
maxUploadSize: ServiceLocator.shared.settings.bugReportMaxUploadSize,
|
||||
session: .mock)
|
||||
@@ -56,8 +56,8 @@ class BugReportServiceTests: XCTestCase {
|
||||
}
|
||||
|
||||
@MainActor func testSubmitBugReportWithRealService() async throws {
|
||||
let service = BugReportService(withBaseURL: URL(staticString: "https://www.example.com"),
|
||||
sentryURL: URL(staticString: "https://1234@sentry.com/1234"),
|
||||
let service = BugReportService(withBaseURL: "https://www.example.com",
|
||||
sentryURL: "https://1234@sentry.com/1234",
|
||||
applicationId: "mock_app_id",
|
||||
maxUploadSize: ServiceLocator.shared.settings.bugReportMaxUploadSize,
|
||||
session: .mock)
|
||||
|
||||
Reference in New Issue
Block a user