Skip to content

Commit 3e0fdda

Browse files
committed
nits
1 parent a5c1daf commit 3e0fdda

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/ParseSwiftTests/ParseObjectTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ class ParseObjectTests: XCTestCase { // swiftlint:disable:this type_body_length
12171217

12181218
var levelOnServer = score
12191219
levelOnServer.createdAt = Date()
1220-
levelOnServer.updatedAt = levelOnServer.updatedAt
1220+
levelOnServer.updatedAt = levelOnServer.createdAt
12211221
levelOnServer.ACL = nil
12221222
levelOnServer.objectId = "yarr"
12231223
let pointer = try levelOnServer.toPointer()
@@ -1369,7 +1369,7 @@ class ParseObjectTests: XCTestCase { // swiftlint:disable:this type_body_length
13691369
var gameOnServer = game
13701370
gameOnServer.objectId = "nice"
13711371
gameOnServer.createdAt = Date()
1372-
gameOnServer.updatedAt = gameOnServer.updatedAt
1372+
gameOnServer.updatedAt = gameOnServer.createdAt
13731373
gameOnServer.profilePicture = savedFile
13741374

13751375
let encodedGamed: Data

Tests/ParseSwiftTests/ParsePointerTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ class ParsePointerTests: XCTestCase {
193193

194194
var scoreOnServer = score
195195
scoreOnServer.createdAt = Date()
196-
scoreOnServer.updatedAt = scoreOnServer.updatedAt
196+
scoreOnServer.updatedAt = scoreOnServer.createdAt
197197
scoreOnServer.ACL = nil
198198

199199
let encoded: Data!
@@ -223,7 +223,7 @@ class ParsePointerTests: XCTestCase {
223223

224224
var scoreOnServer = score
225225
scoreOnServer.createdAt = Date()
226-
scoreOnServer.updatedAt = scoreOnServer.updatedAt
226+
scoreOnServer.updatedAt = scoreOnServer.createdAt
227227
scoreOnServer.ACL = nil
228228
let encoded: Data!
229229
do {

0 commit comments

Comments
 (0)