Skip to content

Commit d24b8b3

Browse files
gilmiriamm1guelpf
authored andcommitted
fix test
1 parent 0650590 commit d24b8b3

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
@@ -84,7 +84,7 @@ public function __construct(Builder $httpClientBuilder = null)
8484
$this->httpClientBuilder->addPlugin(new HistoryPlugin($this->responseHistory));
8585
$this->httpClientBuilder->addPlugin(new ApiVersion());
8686
$this->httpClientBuilder->addPlugin(new HeaderDefaultsPlugin([
87-
'User-Agent' => 'php1-gitlab-api (http://github.com/m4tthumphrey/php1-gitlab-api)',
87+
'User-Agent' => 'php-gitlab-api (http://github.com/m4tthumphrey/php-gitlab-api)',
8888
]));
8989
$this->httpClientBuilder->addPlugin(new RedirectPlugin());
9090

test/Gitlab/Tests/Api/ProjectsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ public function shouldRemoveLabel()
11251125
*/
11261126
public function shouldGetLanguages()
11271127
{
1128-
$expectedArray = ['php1' => 100];
1128+
$expectedArray = ['php' => 100];
11291129
$api = $this->getApiMock();
11301130
$api->expects($this->once())
11311131
->method('get')

0 commit comments

Comments
 (0)