Skip to content

Commit

Permalink
mysql travis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MBoretto committed May 19, 2016
1 parent da9cf84 commit 0c11ef6
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 0c11ef6

Please sign in to comment.