Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
chipsnyder committed May 6, 2021
1 parent 60e8a32 commit 6289cf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions WordPressKitTests/BlockEditorSettingsServiceRemoteTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ extension BlockEditorSettingsServiceRemoteTests {

func testFetchBlockEditorSettingsNotThemeJSON_NoColors() {
let waitExpectation = expectation(description: "Block Settings should be successfully fetched")
var mockedResponse = mockedData(withFilename: blockSettingsNOTThemeJSONResponseFilename) as! [String : Any]
var mockedResponse = mockedData(withFilename: blockSettingsNOTThemeJSONResponseFilename) as! [String: Any]
// Clear out Colors
mockedResponse[RemoteBlockEditorSettings.CodingKeys.colors.stringValue] = "false"

Expand All @@ -180,7 +180,7 @@ extension BlockEditorSettingsServiceRemoteTests {

func testFetchBlockEditorSettingsNotThemeJSON_NoGradients() {
let waitExpectation = expectation(description: "Block Settings should be successfully fetched")
var mockedResponse = mockedData(withFilename: blockSettingsNOTThemeJSONResponseFilename) as! [String : Any]
var mockedResponse = mockedData(withFilename: blockSettingsNOTThemeJSONResponseFilename) as! [String: Any]
// Clear out Gradients
mockedResponse[RemoteBlockEditorSettings.CodingKeys.gradients.stringValue] = "false"

Expand Down Expand Up @@ -249,4 +249,3 @@ extension BlockEditorSettingsServiceRemoteTests {
XCTAssertEqual((self.mockRemoteApi.parametersPassedIn as! [String: String])["context"], "site-editor")
}
}

1 change: 0 additions & 1 deletion WordPressKitTests/Utilities/ChecksumUtilTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ class ChecksumUtilTests: XCTestCase {
return try! Data(contentsOf: json)
}
}

0 comments on commit 6289cf3

Please sign in to comment.