Skip to content

Commit 6801a06

Browse files
authored
Add missing test annotations (#568)
Co-authored-by: Lee Boynton <[email protected]>
1 parent 351f544 commit 6801a06

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/Gitlab/Tests/Api/ProjectsTest.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,6 +1933,9 @@ public function shouldAddProtectedBranch()
19331933
$this->assertEquals($expectedArray, $api->addProtectedBranch(1, ['name' => 'master', 'push_access_level' => 0, 'merge_access_level' => 30]));
19341934
}
19351935

1936+
/**
1937+
* @test
1938+
*/
19361939
public function shoudGetApprovalsConfiguration()
19371940
{
19381941
$expectedArray = [
@@ -1955,7 +1958,10 @@ public function shoudGetApprovalsConfiguration()
19551958
$this->assertEquals($expectedArray, $api->approvalsConfiguration(1));
19561959
}
19571960

1958-
public function shoudGetApprovalRules()
1961+
/**
1962+
* @test
1963+
*/
1964+
public function shoudGetApprovalsRules()
19591965
{
19601966
$expectedArray = [
19611967
[
@@ -1977,7 +1983,7 @@ public function shoudGetApprovalRules()
19771983
->with('projects/1/approval_rules')
19781984
->will($this->returnValue($expectedArray));
19791985

1980-
$this->assertEquals($expectedArray, $api->approvalRules(1));
1986+
$this->assertEquals($expectedArray, $api->approvalsRules(1));
19811987
}
19821988

19831989
/**

0 commit comments

Comments
 (0)