Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Otávio Cordeiro committed May 6, 2022
1 parent a164fc7 commit 5024dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/MicroPinboard/API/TagsAPIFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public enum TagsAPIFactory {
path: "/v1/tags/delete",
method: .get,
queryItems: [
.init(name: "tag", value: "tag")
.init(name: "tag", value: tag)
]
)
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/MicroPinboardTests/PostsAPIFactoryTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class PostsAPIFactoryTests: XCTestCase {
XCTAssertTrue(
try XCTUnwrap(
request.queryItems?.contains(
URLQueryItem(name: "fromdt", value: "0000-01-01")
URLQueryItem(name: "fromdt", value: "0001-01-01")
)
)
)
Expand Down

0 comments on commit 5024dcb

Please sign in to comment.