Remove use of object subscripting
This commit is contained in:
parent
9589ac3ea5
commit
8b751deae5
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ NSString * const AFNetworkingTestsBaseURLString = @"http://httpbin.org/";
|
||||||
@implementation AFNetworkingTests
|
@implementation AFNetworkingTests
|
||||||
|
|
||||||
+ (void)load {
|
+ (void)load {
|
||||||
if ([[[[NSProcessInfo processInfo] environment][@"AFTestsLoggingEnabled"] uppercaseString] isEqualToString:@"YES"]) {
|
if ([[[[[NSProcessInfo processInfo] environment] valueForKey:@"AFTestsLoggingEnabled"] uppercaseString] isEqualToString:@"YES"]) {
|
||||||
[[AFHTTPRequestOperationLogger sharedLogger] startLogging];
|
[[AFHTTPRequestOperationLogger sharedLogger] startLogging];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue