File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2338,7 +2338,7 @@ public function shouldGetProjectAccessTokens(): void
2338
2338
'active ' => true ,
2339
2339
'created_at ' => '2021-01-20T22:11:48.151Z ' ,
2340
2340
'revoked ' => false ,
2341
- ]
2341
+ ],
2342
2342
];
2343
2343
2344
2344
$ api = $ this ->getApiMock ();
@@ -2356,18 +2356,18 @@ public function shouldGetProjectAccessTokens(): void
2356
2356
public function shouldCreateProjectAccessToken (): void
2357
2357
{
2358
2358
$ expectedArray = [
2359
- " scopes " => [
2359
+ ' scopes ' => [
2360
2360
'api ' ,
2361
2361
'read_repository ' ,
2362
2362
],
2363
2363
'active ' => true ,
2364
- 'name ' => " test " ,
2364
+ 'name ' => ' test ' ,
2365
2365
'revoked ' => false ,
2366
2366
'created_at ' => '2021-01-21T19:35:37.921Z ' ,
2367
2367
'user_id ' => 166 ,
2368
2368
'id ' => 58 ,
2369
2369
'expires_at ' => '2021-01-31 ' ,
2370
- 'token ' => " D4y...Wzr " ,
2370
+ 'token ' => ' D4y...Wzr ' ,
2371
2371
];
2372
2372
$ api = $ this ->getApiMock ();
2373
2373
$ api ->expects ($ this ->once ())
@@ -2380,7 +2380,7 @@ public function shouldCreateProjectAccessToken(): void
2380
2380
'api ' ,
2381
2381
'read_repository ' ,
2382
2382
],
2383
- 'expires_at ' => '2021-01-31 '
2383
+ 'expires_at ' => '2021-01-31 ' ,
2384
2384
]
2385
2385
)
2386
2386
->will ($ this ->returnValue ($ expectedArray ));
@@ -2389,7 +2389,7 @@ public function shouldCreateProjectAccessToken(): void
2389
2389
'name ' => 'test_token ' ,
2390
2390
'scopes ' => [
2391
2391
'api ' ,
2392
- 'read_repository '
2392
+ 'read_repository ' ,
2393
2393
],
2394
2394
'expires_at ' => new DateTime ('2021-01-31 ' ),
2395
2395
]));
You can’t perform that action at this time.
0 commit comments