mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 22:34:37 -04:00
Fixes for phpunit
This commit is contained in:
parent
e0c901c8df
commit
f98319a1c1
2
.github/workflows/phpunit.yml
vendored
2
.github/workflows/phpunit.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
MULTI_DB_ENABLED: false
|
MULTI_DB_ENABLED: false
|
||||||
NINJA_LICENSE: 123456
|
NINJA_LICENSE: 123456
|
||||||
TRAVIS: true
|
TRAVIS: true
|
||||||
MAIL_DRIVER: log
|
MAIL_MAILER: log
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
|
@ -31,10 +31,12 @@ class QueryLogging
|
|||||||
*/
|
*/
|
||||||
public function handle(Request $request, Closure $next)
|
public function handle(Request $request, Closure $next)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$timeStart = microtime(true);
|
||||||
|
|
||||||
// Enable query logging for development
|
// Enable query logging for development
|
||||||
if (config('ninja.app_env') != 'production') {
|
if (config('ninja.app_env') != 'production') {
|
||||||
DB::enableQueryLog();
|
DB::enableQueryLog();
|
||||||
$timeStart = microtime(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$response = $next($request);
|
$response = $next($request);
|
||||||
|
21
composer.lock
generated
21
composer.lock
generated
@ -1541,16 +1541,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "egulias/email-validator",
|
"name": "egulias/email-validator",
|
||||||
"version": "2.1.19",
|
"version": "2.1.20",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/egulias/EmailValidator.git",
|
"url": "https://github.com/egulias/EmailValidator.git",
|
||||||
"reference": "840d5603eb84cc81a6a0382adac3293e57c1c64c"
|
"reference": "f46887bc48db66c7f38f668eb7d6ae54583617ff"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/840d5603eb84cc81a6a0382adac3293e57c1c64c",
|
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/f46887bc48db66c7f38f668eb7d6ae54583617ff",
|
||||||
"reference": "840d5603eb84cc81a6a0382adac3293e57c1c64c",
|
"reference": "f46887bc48db66c7f38f668eb7d6ae54583617ff",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -1595,7 +1595,7 @@
|
|||||||
"validation",
|
"validation",
|
||||||
"validator"
|
"validator"
|
||||||
],
|
],
|
||||||
"time": "2020-08-08T21:28:19+00:00"
|
"time": "2020-09-06T13:44:32+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "fedeisas/laravel-mail-css-inliner",
|
"name": "fedeisas/laravel-mail-css-inliner",
|
||||||
@ -4364,16 +4364,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "opis/closure",
|
"name": "opis/closure",
|
||||||
"version": "3.5.6",
|
"version": "3.5.7",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/opis/closure.git",
|
"url": "https://github.com/opis/closure.git",
|
||||||
"reference": "e8d34df855b0a0549a300cb8cb4db472556e8aa9"
|
"reference": "4531e53afe2fc660403e76fb7644e95998bff7bf"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/opis/closure/zipball/e8d34df855b0a0549a300cb8cb4db472556e8aa9",
|
"url": "https://api.github.com/repos/opis/closure/zipball/4531e53afe2fc660403e76fb7644e95998bff7bf",
|
||||||
"reference": "e8d34df855b0a0549a300cb8cb4db472556e8aa9",
|
"reference": "4531e53afe2fc660403e76fb7644e95998bff7bf",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -4421,7 +4421,7 @@
|
|||||||
"serialization",
|
"serialization",
|
||||||
"serialize"
|
"serialize"
|
||||||
],
|
],
|
||||||
"time": "2020-08-11T08:46:50+00:00"
|
"time": "2020-09-06T17:02:15+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "paragonie/random_compat",
|
"name": "paragonie/random_compat",
|
||||||
@ -11053,7 +11053,6 @@
|
|||||||
"keywords": [
|
"keywords": [
|
||||||
"tokenizer"
|
"tokenizer"
|
||||||
],
|
],
|
||||||
"abandoned": true,
|
|
||||||
"time": "2019-09-17T06:23:10+00:00"
|
"time": "2019-09-17T06:23:10+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user