@@ -49,6 +49,7 @@ - (void)testAuthenticateRead {
49
49
dataAccessExpirationDate: nil ];
50
50
51
51
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc ] initWithToken: token
52
+ authenticationToken: nil
52
53
isCancelled: NO
53
54
grantedPermissions: [NSSet setWithObject: @" read" ]
54
55
declinedPermissions: [NSSet setWithArray: @[]]];
@@ -93,6 +94,7 @@ - (void)testAuthenticatePublish {
93
94
dataAccessExpirationDate: nil ];
94
95
95
96
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc ] initWithToken: token
97
+ authenticationToken: nil
96
98
isCancelled: NO
97
99
grantedPermissions: [NSSet setWithObject: @" publish" ]
98
100
declinedPermissions: [NSSet setWithArray: @[]]];
@@ -136,6 +138,7 @@ - (void)testAuthenticateBoth {
136
138
dataAccessExpirationDate: nil ];
137
139
138
140
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc ] initWithToken: token
141
+ authenticationToken: nil
139
142
isCancelled: NO
140
143
grantedPermissions: [NSSet setWithArray: @[ @" read" , @" publish" ]]
141
144
declinedPermissions: [NSSet setWithArray: @[]]];
@@ -162,7 +165,8 @@ - (void)testAuthenticateCancel {
162
165
[invocation getArgument: &handler atIndex: 4 ];
163
166
164
167
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc ] initWithToken: nil
165
- isCancelled: YES
168
+ authenticationToken: nil
169
+ isCancelled: YES
166
170
grantedPermissions: [NSSet setWithArray: @[]]
167
171
declinedPermissions: [NSSet setWithObject: @" publish" ]];
168
172
@@ -231,6 +235,7 @@ - (void)testAuthenticateInvalidResults {
231
235
dataAccessExpirationDate: nil ];
232
236
233
237
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc ] initWithToken: token
238
+ authenticationToken: nil
234
239
isCancelled: NO
235
240
grantedPermissions: [NSSet setWithObject: @" publish" ]
236
241
declinedPermissions: [NSSet setWithArray: @[]]];
0 commit comments