Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Terentev committed Apr 23, 2018
1 parent e3a1780 commit 582f8f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ group: edge
dist: trusty
php:
- 5.6
- 7.1
- hhvm
- 7.2

before_install:
- composer config -g github-oauth.github.com $GITHUB_TOKEN

install:
- travis_retry composer self-update && composer --version
- travis_retry composer global require "fxp/composer-asset-plugin"
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --no-interaction

Expand Down
2 changes: 1 addition & 1 deletion tests/QueuedMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function testQueuedCommand()

/** @var \yii\queue\file\Queue $queue */
$queue = \Yii::$app->get('queue');
$queue->run();
$queue->run(false);

$this->assertStringEqualsFile(\Yii::getAlias('@runtime/test.lock'), QueuedTestCommand::class);
}
Expand Down

0 comments on commit 582f8f2

Please sign in to comment.