@@ -153,10 +153,9 @@ class MessageUpdatesDeletesTests: XCTestCase {
153153 return
154154 }
155155
156- // Update data and extras fields
156+ // Update data
157157 let messageUpdate = publishedMessage. copy ( ) as! ARTMessage
158158 messageUpdate. data = " hello world! "
159- messageUpdate. extras = [ " editSummary " : " added exclamation " ] as ARTJsonCompatible
160159
161160 // RSL12a: optional MessageOperation object
162161 let operation = ARTMessageOperation ( clientId: " updater-client " , descriptionText: " Editing message text " , metadata: [ " newValue " : " hello world! " ] )
@@ -214,9 +213,6 @@ class MessageUpdatesDeletesTests: XCTestCase {
214213 // RSL12b4: data
215214 XCTAssertEqual ( bodyDict [ " data " ] as? String , " hello world! " )
216215
217- // RSL12b6: extras
218- XCTAssertNotNil ( bodyDict [ " extras " ] )
219-
220216 var updatedMessage : ARTMessage !
221217
222218 // Get the updated message by serial string
@@ -272,7 +268,6 @@ class MessageUpdatesDeletesTests: XCTestCase {
272268 // Create message for delete with fields
273269 let messageDelete = publishedMessage. copy ( ) as! ARTMessage
274270 messageDelete. serial = publishedMessageSerial
275- messageDelete. extras = [ " deleteReason " : " test deletion " ] as ARTJsonCompatible
276271 messageDelete. data = " "
277272
278273 // RSL13a: optional MessageOperation object
@@ -331,9 +326,6 @@ class MessageUpdatesDeletesTests: XCTestCase {
331326 // RSL13b4: data
332327 XCTAssertEqual ( bodyDict [ " data " ] as? String , " " )
333328
334- // RSL13b6: extras
335- XCTAssertNotNil ( bodyDict [ " extras " ] )
336-
337329 var updatedMessage : ARTMessage ?
338330
339331 // Get the updated message by serial string
0 commit comments