Skip to content

Commit c4bab5f

Browse files
Enable disabled integration tests
The features that these depended on have now been implemented.
1 parent c75fa2a commit c4bab5f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/AblyLiveObjectsTests/JS Integration Tests/ObjectsIntegrationTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ private struct ObjectsIntegrationTests {
293293
},
294294
),
295295
.init(
296-
disabled: true, // Uses LiveMap.set which we haven't implemented yet
296+
disabled: false,
297297
allTransportsAndProtocols: true,
298298
description: "OBJECT_SYNC sequence builds object tree with all operations applied",
299299
action: { ctx in
@@ -368,7 +368,7 @@ private struct ObjectsIntegrationTests {
368368
},
369369
),
370370
.init(
371-
disabled: true, // Uses LiveMap.set which we haven't implemented yet
371+
disabled: false,
372372
allTransportsAndProtocols: false,
373373
description: "OBJECT_SYNC sequence does not change references to existing objects",
374374
action: { ctx in
@@ -510,7 +510,7 @@ private struct ObjectsIntegrationTests {
510510
},
511511
),
512512
.init(
513-
disabled: true, // This relies on the LiveMap.get returning `nil` when the referenced object's internal `tombstone` flag is true; this is not yet specified, have asked in https://ably-real-time.slack.com/archives/D067YAXGYQ5/p1751376526929339
513+
disabled: false,
514514
allTransportsAndProtocols: false,
515515
description: "OBJECT_SYNC sequence with object state \"tombstone\" property creates tombstoned object",
516516
action: { ctx in
@@ -566,7 +566,7 @@ private struct ObjectsIntegrationTests {
566566
},
567567
),
568568
.init(
569-
disabled: true, // Uses LiveMap.subscribe (through waitForMapKeyUpdate) which we haven't implemented yet. It also seems to rely on the same internal `tombstone` flag as the previous test.
569+
disabled: false,
570570
allTransportsAndProtocols: true,
571571
description: "OBJECT_SYNC sequence with object state \"tombstone\" property deletes existing object",
572572
action: { ctx in
@@ -621,7 +621,7 @@ private struct ObjectsIntegrationTests {
621621
},
622622
),
623623
.init(
624-
disabled: true, // Uses LiveMap.subscribe (through waitForMapKeyUpdate) which we haven't implemented yet
624+
disabled: false,
625625
allTransportsAndProtocols: true,
626626
description: "OBJECT_SYNC sequence with object state \"tombstone\" property triggers subscription callback for existing object",
627627
action: { ctx in

0 commit comments

Comments
 (0)