Skip to content

Commit 09d4337

Browse files
committed
Merge pull request #2 from MBoretto/520_fix
mysql travis fix
2 parents bef7d9a + 0c11ef6 commit 09d4337

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ install:
3535
- travis_retry composer install --no-interaction
3636

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

4040
script:
4141
- ./vendor/bin/phpunit

tests/Unit/ConversationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function setUp()
3535
{
3636
$credentials = [
3737
'host' => '127.0.0.1',
38-
'user' => 'travis',
38+
'user' => 'root',
3939
'password' => '',
4040
'database' => 'telegrambot',
4141
];

0 commit comments

Comments
 (0)