Commit 9a3d64b
committed
test: Restore ParseCoreData session state between tests
Tests in this group mutate the singleton ParseCoreData().sessionId
and were not restoring it, leaking state across cases. Capture the
prior session in setUp() and restore it in tearDown() so each test
starts from a known baseline.
Addresses CodeRabbit nit on PR #1139.1 parent 032a0dc commit 9a3d64b
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
| |||
0 commit comments