Skip to content

Commit 2112ae3

Browse files
laurenzgamperm1guelpf
authored andcommitted
replace tabs
1 parent 36c8be4 commit 2112ae3

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

test/Gitlab/Tests/Api/ProjectsTest.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -482,26 +482,26 @@ public function shouldGetPipelinesWithBooleanParam()
482482
$this->assertEquals($expectedArray, $api->pipelines(1, ['yaml_errors' => false]));
483483
}
484484

485-
/**
486-
* @test
487-
*/
488-
public function shouldGetPipelinesWithSHA()
489-
{
490-
$expectedArray = array(
491-
array('id' => 1, 'status' => 'success','ref' => 'new-pipeline'),
492-
array('id' => 2, 'status' => 'failed', 'ref' => 'new-pipeline'),
493-
array('id' => 3, 'status' => 'pending', 'ref' => 'test-pipeline')
494-
);
495-
496-
$api = $this->getApiMock();
497-
$api->expects($this->once())
498-
->method('get')
499-
->with('projects/1/pipelines', ['sha' => '123'])
500-
->will($this->returnValue($expectedArray))
501-
;
502-
503-
$this->assertEquals($expectedArray, $api->pipelines(1, ['sha' => '123']));
504-
}
485+
/**
486+
* @test
487+
*/
488+
public function shouldGetPipelinesWithSHA()
489+
{
490+
$expectedArray = array(
491+
array('id' => 1, 'status' => 'success','ref' => 'new-pipeline'),
492+
array('id' => 2, 'status' => 'failed', 'ref' => 'new-pipeline'),
493+
array('id' => 3, 'status' => 'pending', 'ref' => 'test-pipeline')
494+
);
495+
496+
$api = $this->getApiMock();
497+
$api->expects($this->once())
498+
->method('get')
499+
->with('projects/1/pipelines', ['sha' => '123'])
500+
->will($this->returnValue($expectedArray))
501+
;
502+
503+
$this->assertEquals($expectedArray, $api->pipelines(1, ['sha' => '123']));
504+
}
505505

506506
/**
507507
* @test

0 commit comments

Comments
 (0)