Skip to content

Commit 1dd24f6

Browse files
committed
Update unit tests
1 parent 2b7a95d commit 1dd24f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/CoreModelTests/TestModel.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Foundation
99
import CoreModel
1010

1111
@Entity
12-
struct Person: Equatable, Hashable, Codable, Identifiable, Entity {
12+
struct Person: Equatable, Hashable, Codable, Identifiable {
1313

1414
let id: UUID
1515

@@ -72,7 +72,7 @@ extension Person {
7272
}
7373

7474
@Entity
75-
struct Event: Equatable, Hashable, Codable, Identifiable, Entity {
75+
struct Event: Equatable, Hashable, Codable, Identifiable {
7676

7777
let id: UUID
7878

@@ -102,7 +102,7 @@ struct Event: Equatable, Hashable, Codable, Identifiable, Entity {
102102

103103
/// Campground Location
104104
@Entity("Campground")
105-
public struct Campground: Equatable, Hashable, Codable, Identifiable, Entity {
105+
public struct Campground: Equatable, Hashable, Codable, Identifiable {
106106

107107
public let id: UUID
108108

@@ -338,7 +338,7 @@ public extension Campground {
338338

339339
/// Campground Rental Unit
340340
@Entity
341-
struct RentalUnit: Equatable, Hashable, Codable, Identifiable, Entity {
341+
struct RentalUnit: Equatable, Hashable, Codable, Identifiable {
342342

343343
public let id: UUID
344344

0 commit comments

Comments
 (0)