Skip to content

Commit 9f6c5be

Browse files
committed
Updated functional tests with getApiVersion
1 parent 50eecee commit 9f6c5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Github/Tests/Functional/RepoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function shouldShowPRDiffIfHeaderIsPresent()
1515
$this->client->addHeaders(
1616
array('Accept' => sprintf(
1717
'application/vnd.github.%s.diff',
18-
$this->client->getOption('api_version')
18+
$this->client->getApiVersion()
1919
))
2020
);
2121

0 commit comments

Comments
 (0)