Skip to content

Commit 0ae696b

Browse files
gilmiriamm1guelpf
authored andcommitted
fix test
1 parent f8e9bc0 commit 0ae696b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ before_script:
2222

2323
script:
2424
- vendor/bin/phpunit --verbose --coverage-text
25-
- if [ "$STATIC_ANALYSIS" != "" ]; then php1 phpstan.phar analyse --level=4 lib; fi;
25+
- if [ "$STATIC_ANALYSIS" != "" ]; then php phpstan.phar analyse --level=4 lib; fi;

lib/Gitlab/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function __construct(Builder $httpClientBuilder = null)
8383
$this->httpClientBuilder->addPlugin(new HistoryPlugin($this->responseHistory));
8484
$this->httpClientBuilder->addPlugin(new ApiVersion());
8585
$this->httpClientBuilder->addPlugin(new HeaderDefaultsPlugin([
86-
'User-Agent' => 'php1-gitlab-api (http://github.com/m4tthumphrey/php1-gitlab-api)',
86+
'User-Agent' => 'php-gitlab-api (http://github.com/m4tthumphrey/php-gitlab-api)',
8787
]));
8888

8989
$this->setUrl('https://gitlab.com');

test/Gitlab/Tests/Api/ProjectsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ public function shouldRemoveLabel()
11051105
*/
11061106
public function shouldGetLanguages()
11071107
{
1108-
$expectedArray = ['php1' => 100];
1108+
$expectedArray = ['php' => 100];
11091109
$api = $this->getApiMock();
11101110
$api->expects($this->once())
11111111
->method('get')

0 commit comments

Comments
 (0)