From 9a07cf7066942c68b7986f06010b5c5f57394d83 Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Mon, 5 Aug 2019 14:51:18 -0700 Subject: [PATCH] Add test class placeholder --- .../SparseFields/SparseFieldEncoderTests.swift | 15 +++++++++++++++ .../SparseFields/SparseFieldsetTests.swift | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Tests/JSONAPITests/SparseFields/SparseFieldEncoderTests.swift diff --git a/Tests/JSONAPITests/SparseFields/SparseFieldEncoderTests.swift b/Tests/JSONAPITests/SparseFields/SparseFieldEncoderTests.swift new file mode 100644 index 0000000..a9790ff --- /dev/null +++ b/Tests/JSONAPITests/SparseFields/SparseFieldEncoderTests.swift @@ -0,0 +1,15 @@ +// +// SparseFieldEncoderTests.swift +// +// +// Created by Mathew Polzin on 8/5/19. +// + +import XCTest +import JSONAPI + +class SparseFieldEncoderTests: XCTestCase { + func test_placeholder() { + // TODO: write tests + } +} diff --git a/Tests/JSONAPITests/SparseFields/SparseFieldsetTests.swift b/Tests/JSONAPITests/SparseFields/SparseFieldsetTests.swift index 7845119..003dcc5 100644 --- a/Tests/JSONAPITests/SparseFields/SparseFieldsetTests.swift +++ b/Tests/JSONAPITests/SparseFields/SparseFieldsetTests.swift @@ -10,7 +10,7 @@ import Foundation import JSONAPI import JSONAPITesting -class SparseFieldEncoderTests: XCTestCase { +class SparseFieldsetTests: XCTestCase { func test_FullEncode() { let jsonEncoder = JSONEncoder() let sparseWithEverything = SparseFieldset(testEverythingObject, fields: EverythingTest.Attributes.CodingKeys.allCases)