Skip to content

Commit

Permalink
Merge branch 'salim/issue/22479-debug-screen-local-flags' into salim/…
Browse files Browse the repository at this point in the history
…issue/22479-debug-screen-local-flags-async-load
  • Loading branch information
salimbraksa committed Feb 3, 2024
2 parents 9b537e3 + edc32a5 commit dc5803f
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ class BooleanUserDefaultsDebugViewModelTests: CoreDataTestCase {
viewModel.load()

// When
viewModel.updateUserDefault(false, forSection: "Other", forRow: "entry1")
let section = viewModel.userDefaultsSections[0]
let row = section.rows[0]
viewModel.updateUserDefault(false, section: section, row: row)

// Then
XCTAssertTrue(viewModel.userDefaultsSections.count == 1)
Expand All @@ -145,7 +147,9 @@ class BooleanUserDefaultsDebugViewModelTests: CoreDataTestCase {
viewModel.load()

// When
viewModel.updateUserDefault(false, forSection: "section1", forRow: "entry1")
let section = viewModel.userDefaultsSections[0]
let row = section.rows[0]
viewModel.updateUserDefault(false, section: section, row: row)

// Then
XCTAssertTrue(viewModel.userDefaultsSections.count == 1)
Expand Down

0 comments on commit dc5803f

Please sign in to comment.