Skip to content

Commit

Permalink
Fixed assertion check and updated tracking status to false in all tvO…
Browse files Browse the repository at this point in the history
…S projects.
  • Loading branch information
NidhiDixit09 committed May 30, 2023
1 parent 8200e67 commit aa65920
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class tvOSReleaseTestTests: XCTestCase {
}
Branch.setTrackingDisabled(false)
let x = Branch.trackingDisabled()
assert( x == true)
assert( x == false)
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ final class tvOSReleaseTestTests: XCTestCase {
Branch.getInstance().initSession(launchOptions: nil) { (params, error) in
print(params as? [String: AnyObject] ?? {})
}
Branch.setTrackingDisabled(true)
let x = Branch.trackingDisabled()
assert( x == true)
Branch.setTrackingDisabled(false)
print("Test completed.")
let x = Branch.trackingDisabled()
assert( x == false)

}


Expand Down

0 comments on commit aa65920

Please sign in to comment.