From cc7046f0ec8bbb769727da536e2543650415da67 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Mon, 25 Jul 2016 12:29:42 -0400 Subject: [PATCH] Update the correct file to change config for gitlab ci --- .gitlab-ci.yml | 2 -- tests/AnimeClient_TestCase.php | 2 +- tests/redis.toml | 15 --------------- 3 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 tests/redis.toml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c64b9fb2..78229a40 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,8 +4,6 @@ before_script: # Install composer dependencies - curl -sS https://getcomposer.org/installer | php - php composer.phar install - # Move redis test config file into place - - mv "./tests/redis.toml" "./app/config/redis.toml" # Composer stores all downloaded packages in the vendor/ directory. # Do not use the following if the vendor/ directory is commited to diff --git a/tests/AnimeClient_TestCase.php b/tests/AnimeClient_TestCase.php index f4a296dc..9a9a6a50 100644 --- a/tests/AnimeClient_TestCase.php +++ b/tests/AnimeClient_TestCase.php @@ -73,7 +73,7 @@ class AnimeClient_TestCase extends PHPUnit_Framework_TestCase { ] ], 'redis' => [ - 'host' => 'localhost', + 'host' => 'redis', 'database' => 13 ] ]; diff --git a/tests/redis.toml b/tests/redis.toml deleted file mode 100644 index ea731750..00000000 --- a/tests/redis.toml +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# Redis Cache Configuration # -################################################################################ - -# Host or socket to connect to -host = "redis" - -# Connection port -#port = 6379 - -# Connection password -#password = "" - -# Database number -database = 13 \ No newline at end of file