Skip to content

Commit

Permalink
Merge pull request #810 from DeluxeAlonso/feature/unit-tests
Browse files Browse the repository at this point in the history
Feature/unit tests
  • Loading branch information
DeluxeAlonso authored Oct 16, 2023
2 parents 85e7f8b + 938c177 commit d161ead
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2019 Alonso. All rights reserved.
//

struct MarkAsFavoriteResult: Codable {
struct MarkAsFavoriteResult: Decodable {

let statusCode: Int
let statusMessage: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ final class AccountClientTests: XCTestCase {

func testMarkAsFavoriteSuccess() throws {
// Arrange
let data = try JSONEncoder().encode(MarkAsFavoriteResult(statusCode: 200, statusMessage: ""))
let data = MockResponse.markAsFavorite.dataResponse
guard let url = URL(string: "www.google.com") else {
XCTFail("Invalid URL")
return
Expand Down

0 comments on commit d161ead

Please sign in to comment.