Commit 09d4337e authored by Jack'lul's avatar Jack'lul

Merge pull request #2 from MBoretto/520_fix

mysql travis fix
parents bef7d9a1 0c11ef6c
...@@ -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