From 0c11ef6cbbea4f6828d380108f606b9fdbfef154 Mon Sep 17 00:00:00 2001 From: MBoretto Date: Thu, 19 May 2016 14:24:49 +0200 Subject: [PATCH] mysql travis fix --- .travis.yml | 2 +- tests/Unit/ConversationTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d33cbc394..7ee386c4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/tests/Unit/ConversationTest.php b/tests/Unit/ConversationTest.php index d3850b89b..1b79d5918 100644 --- a/tests/Unit/ConversationTest.php +++ b/tests/Unit/ConversationTest.php @@ -35,7 +35,7 @@ protected function setUp() { $credentials = [ 'host' => '127.0.0.1', - 'user' => 'travis', + 'user' => 'root', 'password' => '', 'database' => 'telegrambot', ];