Skip to content

Commit 69a0772

Browse files
committed
Persist BlogBuilder state so CustomPostSettings shouldShow tests see it
1 parent 1160c36 commit 69a0772

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Tests/KeystoneTests/Tests/Features/Posts/CustomPostSettingsViewModelTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ private func makeViewModel(
340340
} else {
341341
blog = builder.withAnAccount().build()
342342
}
343+
try coreData.save()
343344
let post = try makePostWithDisabledConnection()
344345
let details = makePostTypeDetails(supportsPublicize: true, slug: postTypeSlug)
345346
let dependencies = try makeServiceDependencies()

0 commit comments

Comments
 (0)