Fixes #614 - Add the user and device identifiers to rageshakes (#620)

* Fixes #614 - Add the user and device identifiers to rageshakes

* Add `base_bundle_identifier` to rageshakes
This commit is contained in:
Stefan Ceriu
2023-02-24 14:51:36 +02:00
committed by GitHub
parent 252a5f2bdc
commit a3abde9e23
15 changed files with 79 additions and 23 deletions
@@ -26,7 +26,9 @@ class BugReportServiceTests: XCTestCase {
}
func testSubmitBugReportWithMockService() async throws {
let bugReport = BugReport(text: "i cannot send message",
let bugReport = BugReport(userID: "@mock:client.com",
deviceID: nil,
text: "i cannot send message",
includeLogs: true,
includeCrashLog: true,
githubLabels: [],
@@ -49,7 +51,9 @@ class BugReportServiceTests: XCTestCase {
applicationId: "mock_app_id",
session: .mock)
let bugReport = BugReport(text: "i cannot send message",
let bugReport = BugReport(userID: "@mock:client.com",
deviceID: nil,
text: "i cannot send message",
includeLogs: true,
includeCrashLog: true,
githubLabels: [],