Commit f2869a8
committed
[tests] Mock Client has flag to let all requests through
* Add a flag called `fireSuccessForAllRequests` that will fire the success callback for all requests so that they don't need to be manually set up using mock responses beforehand.
* This is useful for tests that want the client to return success but don't need the details of particular requests.1 parent 58ef7a1 commit f2869a8
File tree
1 file changed
+5
-0
lines changed- iOS_SDK/OneSignalSDK/OneSignalCoreMocks
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
141 | 146 | | |
142 | 147 | | |
143 | 148 | | |
| |||
0 commit comments