Skip to content

Commit 964682b

Browse files
Merge branch '9.19' into 10.0
2 parents 766e350 + 6801a06 commit 964682b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/Api/ProjectsTest.php

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

1938+
/**
1939+
* @test
1940+
*/
19381941
public function shoudGetApprovalsConfiguration(): void
19391942
{
19401943
$expectedArray = [
@@ -1957,7 +1960,10 @@ public function shoudGetApprovalsConfiguration(): void
19571960
$this->assertEquals($expectedArray, $api->approvalsConfiguration(1));
19581961
}
19591962

1960-
public function shoudGetApprovalRules(): void
1963+
/**
1964+
* @test
1965+
*/
1966+
public function shoudGetApprovalsRules(): void
19611967
{
19621968
$expectedArray = [
19631969
[
@@ -1979,7 +1985,7 @@ public function shoudGetApprovalRules(): void
19791985
->with('projects/1/approval_rules')
19801986
->will($this->returnValue($expectedArray));
19811987

1982-
$this->assertEquals($expectedArray, $api->approvalRules(1));
1988+
$this->assertEquals($expectedArray, $api->approvalsRules(1));
19831989
}
19841990

19851991
/**

0 commit comments

Comments
 (0)