Skip to content

Commit 4e62664

Browse files
ericdurana-lwilliams
authored andcommitted
Making DeploymentTest php 5.3 compatible
1 parent 77fe711 commit 4e62664

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Github/Tests/Api/DeploymentTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function shouldGetAllDeployments()
3737
public function shouldGetAllDeploymentsWithFilterParameters()
3838
{
3939
$api = $this->getApiMock();
40-
$filterData = ["foo" => "bar", "bar" => "foo"];
40+
$filterData = array("foo" => "bar", "bar" => "foo");
4141

4242
$api->expects($this->once())
4343
->method('get')
@@ -52,7 +52,7 @@ public function shouldGetAllDeploymentsWithFilterParameters()
5252
public function shouldCreateStatusUpdate()
5353
{
5454
$api = $this->getApiMock();
55-
$statusData = ["state" => "pending", "description" => "waiting to start"];
55+
$statusData = array("state" => "pending", "description" => "waiting to start");
5656

5757
$api->expects($this->once())
5858
->method('post')
@@ -68,7 +68,7 @@ public function shouldCreateStatusUpdate()
6868
public function shouldRejectStatusUpdateWithoutStateField()
6969
{
7070
$api = $this->getApiMock();
71-
$statusData = [ "description" => "waiting to start"];
71+
$statusData = array("description" => "waiting to start");
7272

7373
$api->updateStatus("KnpLabs", "php-github-api", 1, $statusData);
7474
}

0 commit comments

Comments
 (0)