Skip to content

Commit 8844eb5

Browse files
authored
refactor: test plans files location (#407)
1 parent fa70fb4 commit 8844eb5

20 files changed

+51
-43
lines changed

.swiftpm/xcode/xcshareddata/xcschemes/Auth.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
shouldUseLaunchSchemeArgsEnv = "YES">
3131
<TestPlans>
3232
<TestPlanReference
33-
reference = "container:Auth.xctestplan"
33+
reference = "container:TestPlans/Auth.xctestplan"
3434
default = "YES">
3535
</TestPlanReference>
3636
</TestPlans>

.swiftpm/xcode/xcshareddata/xcschemes/Functions.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<TestPlans>
3131
<TestPlanReference
32-
reference = "container:Functions.xctestplan"
32+
reference = "container:TestPlans/Functions.xctestplan"
3333
default = "YES">
3434
</TestPlanReference>
3535
</TestPlans>

.swiftpm/xcode/xcshareddata/xcschemes/PostgREST.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<TestPlans>
3131
<TestPlanReference
32-
reference = "container:PostgREST.xctestplan"
32+
reference = "container:TestPlans/PostgREST.xctestplan"
3333
default = "YES">
3434
</TestPlanReference>
3535
</TestPlans>

.swiftpm/xcode/xcshareddata/xcschemes/Realtime.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<TestPlans>
3131
<TestPlanReference
32-
reference = "container:Realtime.xctestplan"
32+
reference = "container:TestPlans/Realtime.xctestplan"
3333
default = "YES">
3434
</TestPlanReference>
3535
</TestPlans>

.swiftpm/xcode/xcshareddata/xcschemes/Storage.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<TestPlans>
3131
<TestPlanReference
32-
reference = "container:Storage.xctestplan"
32+
reference = "container:TestPlans/Storage.xctestplan"
3333
default = "YES">
3434
</TestPlanReference>
3535
</TestPlans>

.swiftpm/xcode/xcshareddata/xcschemes/Supabase.xcscheme

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<TestPlans>
3131
<TestPlanReference
32-
reference = "container:IntegrationTests.xctestplan">
32+
reference = "container:TestPlans/AllTests.xctestplan"
33+
default = "YES">
3334
</TestPlanReference>
3435
<TestPlanReference
35-
reference = "container:Supabase.xctestplan"
36-
default = "YES">
36+
reference = "container:TestPlans/IntegrationTests.xctestplan">
3737
</TestPlanReference>
3838
<TestPlanReference
39-
reference = "container:AllTests.xctestplan">
39+
reference = "container:TestPlans/Supabase.xctestplan">
4040
</TestPlanReference>
4141
</TestPlans>
4242
</TestAction>

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test-all: dot-env
2828
-skipMacroValidation \
2929
-workspace supabase-swift.xcworkspace \
3030
-scheme "$(SCHEME)" \
31-
-testPlan AllTests \
31+
-testPlan TestPlans/AllTests \
3232
-destination platform="$(PLATFORM)" | xcpretty
3333

3434
test-library: dot-env
@@ -46,7 +46,7 @@ test-integration: dot-env
4646
-skipMacroValidation \
4747
-workspace supabase-swift.xcworkspace \
4848
-scheme Supabase \
49-
-testPlan IntegrationTests \
49+
-testPlan TestPlans/IntegrationTests \
5050
-destination platform="$(PLATFORM_IOS)" | xcpretty
5151

5252

Sources/Realtime/V2/RealtimeChannelV2.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public actor RealtimeChannelV2 {
4343
private var pushes: [String: PushV2] = [:]
4444

4545
public private(set) var status: Status {
46-
get { statusEventEmitter.lastEvent.value }
46+
get { statusEventEmitter.lastEvent }
4747
set { statusEventEmitter.emit(newValue) }
4848
}
4949

Sources/Realtime/V2/RealtimeClientV2.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public actor RealtimeClientV2 {
9191

9292
/// The current connection status.
9393
public private(set) var status: Status {
94-
get { statusEventEmitter.lastEvent.value }
94+
get { statusEventEmitter.lastEvent }
9595
set { statusEventEmitter.emit(newValue) }
9696
}
9797

Sources/Storage/StorageFileApi.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ public class StorageFileApi: StorageApi {
321321
options: SearchOptions? = nil
322322
) async throws -> [FileObject] {
323323
let encoder = JSONEncoder()
324-
324+
325325
var options = options ?? DEFAULT_SEARCH_OPTIONS
326326
options.prefix = path ?? ""
327327

0 commit comments

Comments
 (0)