File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
splitio_ios/example/ios/SplitTests Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,6 @@ class SplitFactoryStub: SplitFactory {
334334}
335335
336336class SplitClientStub : SplitClient {
337-
338337 var destroyCalled : Bool = false
339338 var methodCalls = [
340339 " getTreatment " : false ,
@@ -407,8 +406,20 @@ class SplitClientStub: SplitClient {
407406 return [ : ]
408407 }
409408
409+ func on( event: SplitEvent , runInBackground: Bool , execute action: @escaping SplitAction ) {
410+ if event == . sdkReady {
411+ sdkReadyEventAction = action
412+ }
413+ }
414+
415+ func on( event: SplitEvent , queue: DispatchQueue , execute action: @escaping SplitAction ) {
416+ if event == . sdkReady {
417+ sdkReadyEventAction = action
418+ }
419+ }
420+
410421 func on( event: SplitEvent , execute action: @escaping SplitAction ) {
411- if event == SplitEvent . sdkReady {
422+ if event == . sdkReady {
412423 sdkReadyEventAction = action
413424 }
414425 }
You can’t perform that action at this time.
0 commit comments