Skip to content

Commit 835844e

Browse files
committed
DB is exploding after wipeSignalStorage, TSStorage manager dbconnection is nil, and presumably a lot of other weird things that happen when you rip the DB out from under the app.
1 parent 6a48699 commit 835844e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SignalUITests/TSTestSetup.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ + (void)setupWithLaunchArguments:(NSArray<NSString *> * _Nonnull)launchArguments
3030
exit(1);
3131
}
3232

33-
if ([launchArguments containsObject:TSRunTestSetup]) {
34-
NSLog(@"Deleting threads and messages.");
35-
[[TSStorageManager sharedManager] wipeSignalStorage];
36-
}
33+
// if ([launchArguments containsObject:TSRunTestSetup]) {
34+
// NSLog(@"Deleting threads and messages.");
35+
// [[TSStorageManager sharedManager] deleteThreadsAndMessages];
36+
// }
3737

3838
if ([launchArguments containsObject:TSStartingStateForTestRegistered]) {
3939
NSLog(@"Lauching with test setup options: registered");

0 commit comments

Comments
 (0)