From c7b6f3f614ccc8d1e2e02a2031b52e4967345dfd Mon Sep 17 00:00:00 2001 From: Joel Carter Date: Tue, 26 Nov 2024 07:43:41 -0600 Subject: [PATCH] Add test hash --- .../Witness/Location/Generic/LocationPayloadTests.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/XyoClientTests/Witness/Location/Generic/LocationPayloadTests.swift b/Tests/XyoClientTests/Witness/Location/Generic/LocationPayloadTests.swift index 48632e5..a319609 100644 --- a/Tests/XyoClientTests/Witness/Location/Generic/LocationPayloadTests.swift +++ b/Tests/XyoClientTests/Witness/Location/Generic/LocationPayloadTests.swift @@ -94,5 +94,7 @@ class LocationPayloadTests: XCTestCase { } """ XCTAssertEqual(jsonString, expectedJSON) + let hash = try BoundWitnessBuilder.hash(payload) + XCTAssertEqual(hash, "c1bd7396f998a50d20401efd4b5da0cf6670f9418c6f60b42f4c54f3663305c3") } }