Skip to content

Commit

Permalink
Merge pull request #2 from MBoretto/520_fix
Browse files Browse the repository at this point in the history
mysql travis fix
  • Loading branch information
jacklul committed May 19, 2016
2 parents bef7d9a + 0c11ef6 commit 09d4337
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ install:
- travis_retry composer install --no-interaction

before_script:
- mysql -e 'create database telegrambot; use telegrambot; source structure.sql;'
- mysql -u root -e 'create database telegrambot; use telegrambot; source structure.sql;'

script:
- ./vendor/bin/phpunit
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ConversationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected function setUp()
{
$credentials = [
'host' => '127.0.0.1',
'user' => 'travis',
'user' => 'root',
'password' => '',
'database' => 'telegrambot',
];
Expand Down

0 comments on commit 09d4337

Please sign in to comment.