summaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorDavey Shafik <me@daveyshafik.com>2020-08-11 01:26:06 -0700
committerGitHub <noreply@github.com>2020-08-11 01:26:06 -0700
commit97688a6f874e67cbd967392c0086db241f203683 (patch)
treee62cd1a5e841ae4c6e3052e4ca10c92382ae64ef /tests/bootstrap.php
parent4b796ffef0834a7b167f9e8536f6d164933ff6ae (diff)
parentdb8266f22ccd67bdaefc2332f4748ce323bc139d (diff)
downloadphp7-mysql-shim-97688a6f874e67cbd967392c0086db241f203683.zip
php7-mysql-shim-97688a6f874e67cbd967392c0086db241f203683.tar.gz
php7-mysql-shim-97688a6f874e67cbd967392c0086db241f203683.tar.bz2
Merge pull request #52 from dshafik/fixup-tests
Add Codespaces support & Fixup Tests
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index f8d1391..d5e8404 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -8,16 +8,4 @@
* @link https://github.com/dshafik/php7-mysql-shim
*/
-require_once __DIR__ . '/../vendor/autoload.php';
-
-if (getenv('MYSQL_HOST') !== '') {
- Dshafik\MySQL\Tests\MySqlShimTest::$host = getenv('MYSQL_HOST');
-}
-
-if (getenv('MYSQL_USERNAME') !== '') {
- Dshafik\MySQL\Tests\MySqlShimTest::$username = getenv('MYSQL_USERNAME');
-}
-
-if (getenv('MYSQL_PASSWORD') !== '') {
- Dshafik\MySQL\Tests\MySqlShimTest::$password = getenv('MYSQL_PASSWORD');
-} \ No newline at end of file
+require_once __DIR__ . '/../vendor/autoload.php'; \ No newline at end of file