Skip to content

Commit 4809e48

Browse files
committed
Fix unit tests compilation issues
1 parent 8061877 commit 4809e48

1 file changed

Lines changed: 19 additions & 7 deletions

File tree

Tests/KeystoneTests/Tests/Services/BlogServiceRemoteCoreRESTSettingsTests.swift

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,27 @@ struct BlogServiceRemoteCoreRESTSettingsTests {
1919
postsPerPage: UInt64 = 10
2020
) -> SiteSettingsWithEditContext {
2121
SiteSettingsWithEditContext(
22-
title: title, description: description, url: "", email: "",
23-
timezone: timezone, dateFormat: dateFormat, timeFormat: timeFormat,
24-
startOfWeek: startOfWeek, language: "", useSmilies: false,
25-
defaultCategory: defaultCategory, defaultPostFormat: defaultPostFormat,
26-
postsPerPage: postsPerPage, showOnFront: "posts",
27-
pageOnFront: 0, pageForPosts: 0,
22+
title: title,
23+
description: description,
24+
url: "",
25+
email: "",
26+
timezone: timezone,
27+
dateFormat: dateFormat,
28+
timeFormat: timeFormat,
29+
startOfWeek: startOfWeek,
30+
language: "",
31+
useSmilies: false,
32+
defaultCategory: defaultCategory,
33+
defaultPostFormat: defaultPostFormat,
34+
postsPerPage: postsPerPage,
35+
showOnFront: "posts",
36+
pageOnFront: 0,
37+
pageForPosts: 0,
2838
defaultPingStatus: .closed,
2939
defaultCommentStatus: .closed,
30-
siteLogo: nil, siteIcon: 0
40+
siteLogo: nil,
41+
siteIcon: 0,
42+
additionalFields: AnyJson(noHandle: AnyJson.NoHandle())
3143
)
3244
}
3345

0 commit comments

Comments
 (0)