Skip to content

Commit

Permalink
wip adding back accidentally removed assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
armcknight committed Aug 29, 2023
1 parent 1f31a08 commit 9fd258d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ private extension SentryCoreDataTrackerTests {

func assertDataAndFrames(dbSpan: Span, expectedOperation: String, expectedDescription: String, mainThread: Bool) {
XCTAssertEqual(dbSpan.operation, expectedOperation)
XCTAssertEqual(dbSpan.origin, "auto.db.core_data")
XCTAssertEqual(dbSpan.data["read_count"] as? Int, 1)
XCTAssertEqual(dbSpan.spanDescription, expectedDescription)
XCTAssertEqual(dbSpan.data["blocked_main_thread"] as? Bool ?? false, mainThread)
XCTAssertEqual(try XCTUnwrap(dbSpan.data["db.system"] as? String), "SQLite")
Expand Down

0 comments on commit 9fd258d

Please sign in to comment.