Skip to content

Commit f7de518

Browse files
committed
Use PHP 5.3 compatible array syntax
1 parent 47c3468 commit f7de518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Gitlab/Tests/Api/ProjectsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,11 @@ public function shouldGetBuildsWithMultipleScopes()
231231
$api = $this->getApiMock();
232232
$api->expects($this->once())
233233
->method('get')
234-
->with('projects/1/builds', array('scope' => ['success', 'failed']))
234+
->with('projects/1/builds', array('scope' => array('success', 'failed')))
235235
->will($this->returnValue($expectedArray))
236236
;
237237

238-
$this->assertEquals($expectedArray, $api->builds(1, ['success', 'failed']));
238+
$this->assertEquals($expectedArray, $api->builds(1, array('success', 'failed')));
239239
}
240240

241241
/**

0 commit comments

Comments
 (0)