Commit 0c11ef6c authored by MBoretto's avatar MBoretto

mysql travis fix

parent da9cf848
...@@ -35,7 +35,7 @@ install: ...@@ -35,7 +35,7 @@ install:
- travis_retry composer install --no-interaction - travis_retry composer install --no-interaction
before_script: 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: script:
- ./vendor/bin/phpunit - ./vendor/bin/phpunit
......
...@@ -35,7 +35,7 @@ class ConversationTest extends TestCase ...@@ -35,7 +35,7 @@ class ConversationTest extends TestCase
{ {
$credentials = [ $credentials = [
'host' => '127.0.0.1', 'host' => '127.0.0.1',
'user' => 'travis', 'user' => 'root',
'password' => '', 'password' => '',
'database' => 'telegrambot', 'database' => 'telegrambot',
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment