Skip to content

Commit

Permalink
Update UIRedactBuilderTests.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
brustolin committed Sep 27, 2024
1 parent c082abc commit 8cbee68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/SentryTests/UIRedactBuilderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class UIRedactBuilderTests: XCTestCase {

let sut = getSut()
let label = AnotherLabel(frame: CGRect(x: 20, y: 20, width: 40, height: 40))
SentrySDK.replay.ignoreView(label)
SentrySDK.replay.maskView(label)
rootView.addSubview(label)

let result = sut.redactRegionsFor(view: rootView)
Expand All @@ -210,7 +210,7 @@ class UIRedactBuilderTests: XCTestCase {

let sut = getSut()
let view = AnotherView(frame: CGRect(x: 20, y: 20, width: 40, height: 40))
SentrySDK.replay.redactView(view)
SentrySDK.replay.maskView(view)
rootView.addSubview(view)

let result = sut.redactRegionsFor(view: rootView)
Expand All @@ -223,7 +223,7 @@ class UIRedactBuilderTests: XCTestCase {

let sut = getSut()
let label = AnotherLabel(frame: CGRect(x: 20, y: 20, width: 40, height: 40))
label.sentryReplayIgnore()
label.sentryReplayMask()
rootView.addSubview(label)

let result = sut.redactRegionsFor(view: rootView)
Expand All @@ -236,7 +236,7 @@ class UIRedactBuilderTests: XCTestCase {

let sut = getSut()
let view = AnotherView(frame: CGRect(x: 20, y: 20, width: 40, height: 40))
view.sentryReplayRedact()
view.sentryReplayMask()
rootView.addSubview(view)

let result = sut.redactRegionsFor(view: rootView)
Expand Down

0 comments on commit 8cbee68

Please sign in to comment.