← All repositories

crossmate

A collaborative crossword app for iPhone and iPad

git clone https://code.inqk.net/crossmate.git


commit 88645c4d32f12ab067730b7a0366ac9deea7fdb2
parent 0d0d01f6d8ca5b683cd677b6c0055c7bddcb4253
Author: Michael Camilleri <[email protected]>
Date:   Sun, 28 Jun 2026 14:41:53 +0900

Remove unnecessary tests

Diffstat

MTests/Unit/Sync/PerGameZoneTests.swift | 29-----------------------------

1 file changed, 0 insertions(+), 29 deletions(-)

diff --git a/Tests/Unit/Sync/PerGameZoneTests.swift b/Tests/Unit/Sync/PerGameZoneTests.swift

@@ -7,35 +7,6 @@ import Testing
 @Suite("PerGameZone")
 struct PerGameZoneTests {
 
-    @Test("zoneID uses game UUID as zone name")
-    func zoneIDZoneName() {
-        let id = UUID(uuidString: "12345678-1234-1234-1234-123456789ABC")!
-        let zone = RecordSerializer.zoneID(for: id)
-        #expect(zone.zoneName == "game-12345678-1234-1234-1234-123456789ABC")
-    }
-
-    @Test("zoneID defaults to CKCurrentUserDefaultName for owner")
-    func zoneIDDefaultOwner() {
-        let id = UUID()
-        let zone = RecordSerializer.zoneID(for: id)
-        #expect(zone.ownerName == CKCurrentUserDefaultName)
-    }
-
-    @Test("zoneID accepts explicit ownerName for shared games")
-    func zoneIDExplicitOwner() {
-        let id = UUID()
-        let zone = RecordSerializer.zoneID(for: id, ownerName: "_someOwnerID")
-        #expect(zone.ownerName == "_someOwnerID")
-    }
-
-    @Test("recordName(forGameID:) embedded in zoneID zoneName")
-    func gameRecordNameMatchesZoneName() {
-        let id = UUID()
-        let zoneName = RecordSerializer.zoneID(for: id).zoneName
-        let recordName = RecordSerializer.recordName(forGameID: id)
-        #expect(zoneName == recordName)
-    }
-
     @Test("zoneInfo reports unconfirmed local game zones")
     @MainActor
     func zoneInfoReportsCloudConfirmation() {