Skip to content

Commit

Permalink
rename class to TypeMapperTest
Browse files Browse the repository at this point in the history
debug tests
  • Loading branch information
vahidlazio committed May 6, 2024
1 parent 66839fb commit 20a67a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/ConfidenceTests/TypeMapperTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import XCTest

@testable import Confidence

class ValueConverterTest: XCTestCase {
class TypeMapperTests: XCTestCase {
func testNetworkToConfidence() throws {
let networkStruct = NetworkStruct.init(fields: [
"string": .string("test1"),
Expand Down Expand Up @@ -39,6 +39,7 @@ class ValueConverterTest: XCTestCase {
func testConfidenceToNetwork() throws {
let formatter = DateFormatter()
formatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
formatter.timeZone = TimeZone.init(identifier: "UTC+01")
let date = try XCTUnwrap(formatter.date(from: "2022-01-01 12:00:00"))

let confidenceStruct: ConfidenceStruct = [
Expand Down

0 comments on commit 20a67a5

Please sign in to comment.