Skip to content

Commit b60993f

Browse files
GrahamCampbellStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 315c0cb commit b60993f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Api/ProjectsTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,7 @@ public function shouldGetProjectAccessTokens(): void
23382338
'active' => true,
23392339
'created_at' => '2021-01-20T22:11:48.151Z',
23402340
'revoked' => false,
2341-
]
2341+
],
23422342
];
23432343

23442344
$api = $this->getApiMock();
@@ -2356,18 +2356,18 @@ public function shouldGetProjectAccessTokens(): void
23562356
public function shouldCreateProjectAccessToken(): void
23572357
{
23582358
$expectedArray = [
2359-
"scopes" => [
2359+
'scopes' => [
23602360
'api',
23612361
'read_repository',
23622362
],
23632363
'active' => true,
2364-
'name' => "test",
2364+
'name' => 'test',
23652365
'revoked' => false,
23662366
'created_at' => '2021-01-21T19:35:37.921Z',
23672367
'user_id' => 166,
23682368
'id' => 58,
23692369
'expires_at' => '2021-01-31',
2370-
'token' => "D4y...Wzr",
2370+
'token' => 'D4y...Wzr',
23712371
];
23722372
$api = $this->getApiMock();
23732373
$api->expects($this->once())
@@ -2380,7 +2380,7 @@ public function shouldCreateProjectAccessToken(): void
23802380
'api',
23812381
'read_repository',
23822382
],
2383-
'expires_at' => '2021-01-31'
2383+
'expires_at' => '2021-01-31',
23842384
]
23852385
)
23862386
->will($this->returnValue($expectedArray));
@@ -2389,7 +2389,7 @@ public function shouldCreateProjectAccessToken(): void
23892389
'name' => 'test_token',
23902390
'scopes' => [
23912391
'api',
2392-
'read_repository'
2392+
'read_repository',
23932393
],
23942394
'expires_at' => new DateTime('2021-01-31'),
23952395
]));

0 commit comments

Comments
 (0)