diff --git a/.travis.yml b/.travis.yml
index 2265373c23..af63bd6030 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,7 +27,7 @@ before_install:
- chmod -R u+x ./.travis-ci
- export COMPOSE_INTERACTIVE_NO_CLI=1
# Only pass a single runtime for CI stability
-- echo "_APP_FUNCTIONS_ENVS=php-8.0" >> .env
+- echo "_APP_FUNCTIONS_RUNTIMES=php-8.0" >> .env
install:
- docker-compose up -d
diff --git a/app/init.php b/app/init.php
index bc5e37d28a..63910c860a 100644
--- a/app/init.php
+++ b/app/init.php
@@ -169,8 +169,9 @@ $register->set('influxdb', function () { // Register DB connection
if (empty($host) || empty($port)) {
return;
}
-
- $client = new InfluxDB\Client($host, $port, '', '', false, false, 5);
+ $driver = new InfluxDB\Driver\Curl(dsn: "http://{$host}:{$port}");
+ $client = new InfluxDB\Client(host: $host, port: $port, timeout: 5);
+ $client->setDriver($driver);
return $client;
});
diff --git a/composer.lock b/composer.lock
index 8e54ef9bbb..42129feac8 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1015,16 +1015,16 @@
},
{
"name": "psr/log",
- "version": "1.1.3",
+ "version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
"shasum": ""
},
"require": {
@@ -1048,7 +1048,7 @@
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
@@ -1059,9 +1059,9 @@
"psr-3"
],
"support": {
- "source": "https://github.com/php-fig/log/tree/1.1.3"
+ "source": "https://github.com/php-fig/log/tree/1.1.4"
},
- "time": "2020-03-23T09:12:05+00:00"
+ "time": "2021-05-03T11:20:27+00:00"
},
{
"name": "ralouphie/getallheaders",
@@ -3043,16 +3043,16 @@
},
{
"name": "nikic/php-parser",
- "version": "v4.10.4",
+ "version": "v4.10.5",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e"
+ "reference": "4432ba399e47c66624bc73c8c0f811e5c109576f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c6d052fc58cb876152f89f532b95a8d7907e7f0e",
- "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4432ba399e47c66624bc73c8c0f811e5c109576f",
+ "reference": "4432ba399e47c66624bc73c8c0f811e5c109576f",
"shasum": ""
},
"require": {
@@ -3093,9 +3093,9 @@
],
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4"
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.5"
},
- "time": "2020-12-20T10:01:03+00:00"
+ "time": "2021-05-03T19:11:20+00:00"
},
{
"name": "openlss/lib-array2xml",
@@ -4973,16 +4973,16 @@
},
{
"name": "symfony/console",
- "version": "v5.2.6",
+ "version": "v5.2.7",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "35f039df40a3b335ebf310f244cb242b3a83ac8d"
+ "reference": "90374b8ed059325b49a29b55b3f8bb4062c87629"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/35f039df40a3b335ebf310f244cb242b3a83ac8d",
- "reference": "35f039df40a3b335ebf310f244cb242b3a83ac8d",
+ "url": "https://api.github.com/repos/symfony/console/zipball/90374b8ed059325b49a29b55b3f8bb4062c87629",
+ "reference": "90374b8ed059325b49a29b55b3f8bb4062c87629",
"shasum": ""
},
"require": {
@@ -5050,7 +5050,7 @@
"terminal"
],
"support": {
- "source": "https://github.com/symfony/console/tree/v5.2.6"
+ "source": "https://github.com/symfony/console/tree/v5.2.7"
},
"funding": [
{
@@ -5066,7 +5066,7 @@
"type": "tidelift"
}
],
- "time": "2021-03-28T09:42:18+00:00"
+ "time": "2021-04-19T14:07:32+00:00"
},
{
"name": "symfony/polyfill-intl-grapheme",
diff --git a/phpunit.xml b/phpunit.xml
index 6be2d27d7b..f0a2813f5a 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -19,12 +19,12 @@
./tests/e2e/Client.php
./tests/e2e/General
./tests/e2e/Scopes
- ./tests/e2e/Services/Projects
./tests/e2e/Services/Account
./tests/e2e/Services/Avatars
./tests/e2e/Services/Database
./tests/e2e/Services/Health
./tests/e2e/Services/Locale
+ ./tests/e2e/Services/Projects
./tests/e2e/Services/Storage
./tests/e2e/Services/Teams
./tests/e2e/Services/Users
diff --git a/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php b/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
index 311c533c3a..07042f8b78 100644
--- a/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
+++ b/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
@@ -149,8 +149,6 @@ class ProjectsConsoleClientTest extends Scope
{
$id = $data['projectId'] ?? '';
- sleep(30);
-
/**
* Test for SUCCESS
*/