Skip to content

Commit 0c11ef6

Browse files
committed
mysql travis fix
1 parent da9cf84 commit 0c11ef6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
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

+1-1
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)