Skip to content

Commit

Permalink
Moving things around
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruin-NR committed Jan 31, 2025
1 parent 16787b8 commit 62df92d
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,17 @@ @implementation NRMASAMTest

- (void)setUp {
[super setUp];
[NRLogger setLogLevels:NRLogLevelDebug];

manager = [self samTest];
[manager removeAllSessionAttributes];

NSFileManager *fileManager = [NSFileManager defaultManager];
if([fileManager fileExistsAtPath:[NSString stringWithFormat:@"%@/%@",[NewRelicInternalUtils getStorePath],kNRMA_Attrib_file]]) {
[fileManager removeItemAtPath:[NSString stringWithFormat:@"%@/%@",[NewRelicInternalUtils getStorePath],kNRMA_Attrib_file] error:nil];
}
if([fileManager fileExistsAtPath:[NSString stringWithFormat:@"%@/%@",[NewRelicInternalUtils getStorePath],kNRMA_Attrib_file_private]]) {
[fileManager removeItemAtPath:[NSString stringWithFormat:@"%@/%@",[NewRelicInternalUtils getStorePath],kNRMA_Attrib_file_private] error:nil];
}

[NRLogger setLogLevels:NRLogLevelDebug];

manager = [self samTest];
}

- (NRMASAM*) samTest {
Expand Down

0 comments on commit 62df92d

Please sign in to comment.