Added compliance stats type to the tests data, fixed the initial insert data.

pull/316/head
Ruslan Baidan 2020-06-24 15:12:40 +02:00
parent 7b198da74f
commit 31a30db6b6
No known key found for this signature in database
GPG Key ID: 4B7724C136BF1D89
6 changed files with 6896 additions and 4676 deletions

304
composer.lock generated
View File

@ -60,16 +60,16 @@
},
{
"name": "cakephp/cache",
"version": "3.8.12",
"version": "3.9.0",
"source": {
"type": "git",
"url": "https://github.com/cakephp/cache.git",
"reference": "09b2a1c4929e134456d30c61d9dbf6e10ace8436"
"reference": "e8ec4e77fb288adda318e08053f5f540870aeb9d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/cache/zipball/09b2a1c4929e134456d30c61d9dbf6e10ace8436",
"reference": "09b2a1c4929e134456d30c61d9dbf6e10ace8436",
"url": "https://api.github.com/repos/cakephp/cache/zipball/e8ec4e77fb288adda318e08053f5f540870aeb9d",
"reference": "e8ec4e77fb288adda318e08053f5f540870aeb9d",
"shasum": ""
},
"require": {
@ -100,20 +100,20 @@
"caching",
"cakephp"
],
"time": "2020-04-19T21:38:42+00:00"
"time": "2020-06-16T00:54:28+00:00"
},
{
"name": "cakephp/collection",
"version": "3.8.12",
"version": "3.9.0",
"source": {
"type": "git",
"url": "https://github.com/cakephp/collection.git",
"reference": "013e9d02552c56d737a6bff91e59544c735efed7"
"reference": "387cc755ef04a98f8a4461281090465238421d69"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/collection/zipball/013e9d02552c56d737a6bff91e59544c735efed7",
"reference": "013e9d02552c56d737a6bff91e59544c735efed7",
"url": "https://api.github.com/repos/cakephp/collection/zipball/387cc755ef04a98f8a4461281090465238421d69",
"reference": "387cc755ef04a98f8a4461281090465238421d69",
"shasum": ""
},
"require": {
@ -146,20 +146,20 @@
"collections",
"iterators"
],
"time": "2020-01-10T15:24:40+00:00"
"time": "2020-06-13T12:25:53+00:00"
},
{
"name": "cakephp/core",
"version": "3.8.12",
"version": "3.9.0",
"source": {
"type": "git",
"url": "https://github.com/cakephp/core.git",
"reference": "16249fa6771663e6649cbdb832f7ff25bf568b84"
"reference": "76b9450dc68c81f93bca7827cfbb42a53a5f7737"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/core/zipball/16249fa6771663e6649cbdb832f7ff25bf568b84",
"reference": "16249fa6771663e6649cbdb832f7ff25bf568b84",
"url": "https://api.github.com/repos/cakephp/core/zipball/76b9450dc68c81f93bca7827cfbb42a53a5f7737",
"reference": "76b9450dc68c81f93bca7827cfbb42a53a5f7737",
"shasum": ""
},
"require": {
@ -196,20 +196,20 @@
"core",
"framework"
],
"time": "2020-01-10T15:24:40+00:00"
"time": "2020-06-16T00:54:28+00:00"
},
{
"name": "cakephp/database",
"version": "3.8.12",
"version": "3.9.0",
"source": {
"type": "git",
"url": "https://github.com/cakephp/database.git",
"reference": "489591545fd223d6cdbf022049f7c73ede0cb4fa"
"reference": "b90f74859237ff507eb20c47c3b84d564c543688"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/database/zipball/489591545fd223d6cdbf022049f7c73ede0cb4fa",
"reference": "489591545fd223d6cdbf022049f7c73ede0cb4fa",
"url": "https://api.github.com/repos/cakephp/database/zipball/b90f74859237ff507eb20c47c3b84d564c543688",
"reference": "b90f74859237ff507eb20c47c3b84d564c543688",
"shasum": ""
},
"require": {
@ -244,20 +244,20 @@
"database abstraction",
"pdo"
],
"time": "2020-04-13T01:41:15+00:00"
"time": "2020-06-14T02:01:05+00:00"
},
{
"name": "cakephp/datasource",
"version": "3.8.12",
"version": "3.9.0",
"source": {
"type": "git",
"url": "https://github.com/cakephp/datasource.git",
"reference": "adc983f7c4d99c4361e3a8e4c0db7cdde26ee180"
"reference": "ef310daf569dc11ef473a9ba0c52429025f672ec"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/datasource/zipball/adc983f7c4d99c4361e3a8e4c0db7cdde26ee180",
"reference": "adc983f7c4d99c4361e3a8e4c0db7cdde26ee180",
"url": "https://api.github.com/repos/cakephp/datasource/zipball/ef310daf569dc11ef473a9ba0c52429025f672ec",
"reference": "ef310daf569dc11ef473a9ba0c52429025f672ec",
"shasum": ""
},
"require": {
@ -294,20 +294,20 @@
"entity",
"query"
],
"time": "2020-04-14T14:22:40+00:00"
"time": "2020-06-16T00:54:28+00:00"
},
{
"name": "cakephp/log",
"version": "3.8.12",
"version": "3.9.0",
"source": {
"type": "git",
"url": "https://github.com/cakephp/log.git",
"reference": "2dae5b32430ca89d66c73bd9d568fcf68736eae5"
"reference": "02940591797475c2d384af12432561204d6ecdf9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/log/zipball/2dae5b32430ca89d66c73bd9d568fcf68736eae5",
"reference": "2dae5b32430ca89d66c73bd9d568fcf68736eae5",
"url": "https://api.github.com/repos/cakephp/log/zipball/02940591797475c2d384af12432561204d6ecdf9",
"reference": "02940591797475c2d384af12432561204d6ecdf9",
"shasum": ""
},
"require": {
@ -339,20 +339,20 @@
"log",
"logging"
],
"time": "2020-01-10T15:24:40+00:00"
"time": "2020-06-16T00:54:28+00:00"
},
{
"name": "cakephp/utility",
"version": "3.8.12",
"version": "3.9.0",
"source": {
"type": "git",
"url": "https://github.com/cakephp/utility.git",
"reference": "9f121defbff4b5f3691b33de8cb203b8923fc2a4"
"reference": "27d9c7409ad89272e2483e3196aabc47385d3db6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/utility/zipball/9f121defbff4b5f3691b33de8cb203b8923fc2a4",
"reference": "9f121defbff4b5f3691b33de8cb203b8923fc2a4",
"url": "https://api.github.com/repos/cakephp/utility/zipball/27d9c7409ad89272e2483e3196aabc47385d3db6",
"reference": "27d9c7409ad89272e2483e3196aabc47385d3db6",
"shasum": ""
},
"require": {
@ -392,7 +392,7 @@
"string",
"utility"
],
"time": "2020-02-18T01:57:35+00:00"
"time": "2020-06-14T02:01:05+00:00"
},
{
"name": "container-interop/container-interop",
@ -672,16 +672,16 @@
},
{
"name": "doctrine/common",
"version": "2.13.2",
"version": "2.13.3",
"source": {
"type": "git",
"url": "https://github.com/doctrine/common.git",
"reference": "6902fafacb43333d9dc3d949c0a06048a31549ac"
"reference": "f3812c026e557892c34ef37f6ab808a6b567da7f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/common/zipball/6902fafacb43333d9dc3d949c0a06048a31549ac",
"reference": "6902fafacb43333d9dc3d949c0a06048a31549ac",
"url": "https://api.github.com/repos/doctrine/common/zipball/f3812c026e557892c34ef37f6ab808a6b567da7f",
"reference": "f3812c026e557892c34ef37f6ab808a6b567da7f",
"shasum": ""
},
"require": {
@ -765,7 +765,7 @@
"type": "tidelift"
}
],
"time": "2020-05-29T17:35:20+00:00"
"time": "2020-06-05T16:46:05+00:00"
},
{
"name": "doctrine/dbal",
@ -1662,16 +1662,16 @@
},
{
"name": "guzzlehttp/guzzle",
"version": "6.5.4",
"version": "6.5.5",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d"
"reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/a4a1b6930528a8f7ee03518e6442ec7a44155d9d",
"reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
"reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
"shasum": ""
},
"require": {
@ -1679,7 +1679,7 @@
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.6.1",
"php": ">=5.5",
"symfony/polyfill-intl-idn": "1.17.0"
"symfony/polyfill-intl-idn": "^1.17.0"
},
"require-dev": {
"ext-curl": "*",
@ -1725,7 +1725,7 @@
"rest",
"web service"
],
"time": "2020-05-25T19:35:05+00:00"
"time": "2020-06-16T21:01:06+00:00"
},
{
"name": "guzzlehttp/promises",
@ -2563,16 +2563,16 @@
},
{
"name": "laminas/laminas-http",
"version": "2.11.2",
"version": "2.12.0",
"source": {
"type": "git",
"url": "https://github.com/laminas/laminas-http.git",
"reference": "8c66963b933c80da59433da56a44dfa979f3ec88"
"reference": "48bd06ffa3a6875e2b77d6852405eb7b1589d575"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laminas/laminas-http/zipball/8c66963b933c80da59433da56a44dfa979f3ec88",
"reference": "8c66963b933c80da59433da56a44dfa979f3ec88",
"url": "https://api.github.com/repos/laminas/laminas-http/zipball/48bd06ffa3a6875e2b77d6852405eb7b1589d575",
"reference": "48bd06ffa3a6875e2b77d6852405eb7b1589d575",
"shasum": ""
},
"require": {
@ -2584,7 +2584,7 @@
"php": "^5.6 || ^7.0"
},
"replace": {
"zendframework/zend-http": "self.version"
"zendframework/zend-http": "^2.11.2"
},
"require-dev": {
"laminas/laminas-coding-standard": "~1.0.0",
@ -2597,8 +2597,8 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.11.x-dev",
"dev-develop": "2.12.x-dev"
"dev-master": "2.12.x-dev",
"dev-develop": "2.13.x-dev"
}
},
"autoload": {
@ -2617,7 +2617,13 @@
"http client",
"laminas"
],
"time": "2019-12-31T17:02:36+00:00"
"funding": [
{
"url": "https://funding.communitybridge.org/projects/laminas-project",
"type": "community_bridge"
}
],
"time": "2020-06-23T15:14:37+00:00"
},
{
"name": "laminas/laminas-hydrator",
@ -3981,12 +3987,12 @@
"source": {
"type": "git",
"url": "https://github.com/monarc-project/zm-core.git",
"reference": "c7880705925bdacb3f835d17b0da5f46af836b45"
"reference": "25e3dd77b7ae4d85ee0393e450c17a2398e2365f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/monarc-project/zm-core/zipball/c7880705925bdacb3f835d17b0da5f46af836b45",
"reference": "c7880705925bdacb3f835d17b0da5f46af836b45",
"url": "https://api.github.com/repos/monarc-project/zm-core/zipball/25e3dd77b7ae4d85ee0393e450c17a2398e2365f",
"reference": "25e3dd77b7ae4d85ee0393e450c17a2398e2365f",
"shasum": ""
},
"require": {
@ -4061,7 +4067,7 @@
}
],
"description": "Core for monarc/monarc application",
"time": "2020-06-03T15:39:51+00:00"
"time": "2020-06-18T15:18:49+00:00"
},
{
"name": "monarc/frontoffice",
@ -4069,16 +4075,17 @@
"source": {
"type": "git",
"url": "https://github.com/monarc-project/zm-client.git",
"reference": "a60493f0a8c98534d729c7ce91d9c07756313e23"
"reference": "158d1163a4f3701d8f5c46857a32406a6efd6ed1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/monarc-project/zm-client/zipball/a60493f0a8c98534d729c7ce91d9c07756313e23",
"reference": "a60493f0a8c98534d729c7ce91d9c07756313e23",
"url": "https://api.github.com/repos/monarc-project/zm-client/zipball/158d1163a4f3701d8f5c46857a32406a6efd6ed1",
"reference": "158d1163a4f3701d8f5c46857a32406a6efd6ed1",
"shasum": ""
},
"require": {
"doctrine/doctrine-orm-module": "^2.1",
"ext-bcmath": "*",
"ext-imagick": "*",
"ext-intl": "*",
"ext-json": "*",
@ -4148,7 +4155,7 @@
}
],
"description": "Frontoffice for monarc/monarc application",
"time": "2020-06-03T15:18:27+00:00"
"time": "2020-06-18T15:18:36+00:00"
},
{
"name": "monarc/phpword",
@ -5021,7 +5028,7 @@
},
{
"name": "symfony/config",
"version": "v5.1.0",
"version": "v5.1.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/config.git",
@ -5101,16 +5108,16 @@
},
{
"name": "symfony/console",
"version": "v5.1.0",
"version": "v5.1.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "00bed125812716d09b163f0727ef33bb49bf3448"
"reference": "34ac555a3627e324b660e318daa07572e1140123"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/00bed125812716d09b163f0727ef33bb49bf3448",
"reference": "00bed125812716d09b163f0727ef33bb49bf3448",
"url": "https://api.github.com/repos/symfony/console/zipball/34ac555a3627e324b660e318daa07572e1140123",
"reference": "34ac555a3627e324b660e318daa07572e1140123",
"shasum": ""
},
"require": {
@ -5190,7 +5197,7 @@
"type": "tidelift"
}
],
"time": "2020-05-30T20:35:19+00:00"
"time": "2020-06-15T12:59:21+00:00"
},
{
"name": "symfony/deprecation-contracts",
@ -5254,7 +5261,7 @@
},
{
"name": "symfony/filesystem",
"version": "v5.1.0",
"version": "v5.1.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
@ -5318,16 +5325,16 @@
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.17.0",
"version": "v1.17.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9"
"reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e94c8b1bbe2bc77507a1056cdb06451c75b427f9",
"reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
"reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
"shasum": ""
},
"require": {
@ -5340,6 +5347,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -5386,20 +5397,20 @@
"type": "tidelift"
}
],
"time": "2020-05-12T16:14:59+00:00"
"time": "2020-06-06T08:46:27+00:00"
},
{
"name": "symfony/polyfill-intl-grapheme",
"version": "v1.17.0",
"version": "v1.17.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git",
"reference": "e094b0770f7833fdf257e6ba4775be4e258230b2"
"reference": "6e4dbcf5e81eba86e36731f94fe56b1726835846"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/e094b0770f7833fdf257e6ba4775be4e258230b2",
"reference": "e094b0770f7833fdf257e6ba4775be4e258230b2",
"url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/6e4dbcf5e81eba86e36731f94fe56b1726835846",
"reference": "6e4dbcf5e81eba86e36731f94fe56b1726835846",
"shasum": ""
},
"require": {
@ -5412,6 +5423,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -5460,20 +5475,20 @@
"type": "tidelift"
}
],
"time": "2020-05-12T16:47:27+00:00"
"time": "2020-06-06T08:46:27+00:00"
},
{
"name": "symfony/polyfill-intl-idn",
"version": "v1.17.0",
"version": "v1.17.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-idn.git",
"reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a"
"reference": "a57f8161502549a742a63c09f0a604997bf47027"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/3bff59ea7047e925be6b7f2059d60af31bb46d6a",
"reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a",
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a57f8161502549a742a63c09f0a604997bf47027",
"reference": "a57f8161502549a742a63c09f0a604997bf47027",
"shasum": ""
},
"require": {
@ -5488,6 +5503,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -5536,20 +5555,20 @@
"type": "tidelift"
}
],
"time": "2020-05-12T16:47:27+00:00"
"time": "2020-06-06T08:46:27+00:00"
},
{
"name": "symfony/polyfill-intl-normalizer",
"version": "v1.17.0",
"version": "v1.17.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
"reference": "1357b1d168eb7f68ad6a134838e46b0b159444a9"
"reference": "40309d1700e8f72447bb9e7b54af756eeea35620"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/1357b1d168eb7f68ad6a134838e46b0b159444a9",
"reference": "1357b1d168eb7f68ad6a134838e46b0b159444a9",
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/40309d1700e8f72447bb9e7b54af756eeea35620",
"reference": "40309d1700e8f72447bb9e7b54af756eeea35620",
"shasum": ""
},
"require": {
@ -5562,6 +5581,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -5613,20 +5636,20 @@
"type": "tidelift"
}
],
"time": "2020-05-12T16:14:59+00:00"
"time": "2020-06-14T14:40:37+00:00"
},
{
"name": "symfony/polyfill-mbstring",
"version": "v1.17.0",
"version": "v1.17.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "fa79b11539418b02fc5e1897267673ba2c19419c"
"reference": "7110338d81ce1cbc3e273136e4574663627037a7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fa79b11539418b02fc5e1897267673ba2c19419c",
"reference": "fa79b11539418b02fc5e1897267673ba2c19419c",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7110338d81ce1cbc3e273136e4574663627037a7",
"reference": "7110338d81ce1cbc3e273136e4574663627037a7",
"shasum": ""
},
"require": {
@ -5639,6 +5662,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -5686,7 +5713,7 @@
"type": "tidelift"
}
],
"time": "2020-05-12T16:47:27+00:00"
"time": "2020-06-06T08:46:27+00:00"
},
{
"name": "symfony/polyfill-php72",
@ -5759,16 +5786,16 @@
},
{
"name": "symfony/polyfill-php73",
"version": "v1.17.0",
"version": "v1.17.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
"reference": "a760d8964ff79ab9bf057613a5808284ec852ccc"
"reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a760d8964ff79ab9bf057613a5808284ec852ccc",
"reference": "a760d8964ff79ab9bf057613a5808284ec852ccc",
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fa0837fe02d617d31fbb25f990655861bb27bd1a",
"reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a",
"shasum": ""
},
"require": {
@ -5778,6 +5805,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -5827,20 +5858,20 @@
"type": "tidelift"
}
],
"time": "2020-05-12T16:47:27+00:00"
"time": "2020-06-06T08:46:27+00:00"
},
{
"name": "symfony/polyfill-php80",
"version": "v1.17.0",
"version": "v1.17.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
"reference": "5e30b2799bc1ad68f7feb62b60a73743589438dd"
"reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/5e30b2799bc1ad68f7feb62b60a73743589438dd",
"reference": "5e30b2799bc1ad68f7feb62b60a73743589438dd",
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4a5b6bba3259902e386eb80dd1956181ee90b5b2",
"reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2",
"shasum": ""
},
"require": {
@ -5850,6 +5881,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@ -5903,7 +5938,7 @@
"type": "tidelift"
}
],
"time": "2020-05-12T16:47:27+00:00"
"time": "2020-06-06T08:46:27+00:00"
},
{
"name": "symfony/service-contracts",
@ -5979,16 +6014,16 @@
},
{
"name": "symfony/string",
"version": "v5.1.0",
"version": "v5.1.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "90c2a5103f07feb19069379f3abdcdbacc7753a9"
"reference": "ac70459db781108db7c6d8981dd31ce0e29e3298"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/90c2a5103f07feb19069379f3abdcdbacc7753a9",
"reference": "90c2a5103f07feb19069379f3abdcdbacc7753a9",
"url": "https://api.github.com/repos/symfony/string/zipball/ac70459db781108db7c6d8981dd31ce0e29e3298",
"reference": "ac70459db781108db7c6d8981dd31ce0e29e3298",
"shasum": ""
},
"require": {
@ -6060,11 +6095,11 @@
"type": "tidelift"
}
],
"time": "2020-05-20T17:43:50+00:00"
"time": "2020-06-11T12:16:36+00:00"
},
{
"name": "symfony/yaml",
"version": "v5.1.0",
"version": "v5.1.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
@ -6569,16 +6604,16 @@
},
{
"name": "phpdocumentor/type-resolver",
"version": "1.1.0",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "7462d5f123dfc080dfdf26897032a6513644fc95"
"reference": "30441f2752e493c639526b215ed81d54f369d693"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/7462d5f123dfc080dfdf26897032a6513644fc95",
"reference": "7462d5f123dfc080dfdf26897032a6513644fc95",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/30441f2752e493c639526b215ed81d54f369d693",
"reference": "30441f2752e493c639526b215ed81d54f369d693",
"shasum": ""
},
"require": {
@ -6592,7 +6627,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
"dev-1.x": "1.x-dev"
}
},
"autoload": {
@ -6611,7 +6646,7 @@
}
],
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
"time": "2020-02-18T18:59:58+00:00"
"time": "2020-06-19T20:22:09+00:00"
},
{
"name": "phpspec/prophecy",
@ -6930,16 +6965,16 @@
},
{
"name": "phpunit/phpunit",
"version": "8.5.5",
"version": "8.5.8",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "63dda3b212a0025d380a745f91bdb4d8c985adb7"
"reference": "34c18baa6a44f1d1fbf0338907139e9dce95b997"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/63dda3b212a0025d380a745f91bdb4d8c985adb7",
"reference": "63dda3b212a0025d380a745f91bdb4d8c985adb7",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/34c18baa6a44f1d1fbf0338907139e9dce95b997",
"reference": "34c18baa6a44f1d1fbf0338907139e9dce95b997",
"shasum": ""
},
"require": {
@ -7019,7 +7054,7 @@
"type": "github"
}
],
"time": "2020-05-22T13:51:52+00:00"
"time": "2020-06-22T07:06:58+00:00"
},
{
"name": "roave/security-advisories",
@ -7027,12 +7062,12 @@
"source": {
"type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git",
"reference": "de6fda3af9b36c77fdeb62b968157032f7111b09"
"reference": "6d2e5ab854782830911ddd33b7d4649b9f18c10f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/de6fda3af9b36c77fdeb62b968157032f7111b09",
"reference": "de6fda3af9b36c77fdeb62b968157032f7111b09",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/6d2e5ab854782830911ddd33b7d4649b9f18c10f",
"reference": "6d2e5ab854782830911ddd33b7d4649b9f18c10f",
"shasum": ""
},
"conflict": {
@ -7041,13 +7076,14 @@
"alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1",
"amphp/artax": "<1.0.6|>=2,<2.0.6",
"amphp/http": "<1.0.1",
"amphp/http-client": ">=4,<4.4",
"api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6",
"asymmetricrypt/asymmetricrypt": ">=0,<9.9.99",
"aws/aws-sdk-php": ">=3,<3.2.1",
"bagisto/bagisto": "<0.1.5",
"barrelstrength/sprout-base-email": "<1.2.7",
"barrelstrength/sprout-forms": "<3.9",
"bolt/bolt": "<3.6.10",
"bolt/bolt": "<3.7.1",
"brightlocal/phpwhois": "<=4.2.5",
"buddypress/buddypress": "<5.1.2",
"bugsnag/bugsnag-laravel": ">=2,<2.0.2",
@ -7075,8 +7111,8 @@
"doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1",
"dolibarr/dolibarr": "<11.0.4",
"dompdf/dompdf": ">=0.6,<0.6.2",
"drupal/core": ">=7,<7.70|>=8,<8.7.14|>=8.8,<8.8.6",
"drupal/drupal": ">=7,<7.70|>=8,<8.7.14|>=8.8,<8.8.6",
"drupal/core": ">=7,<7.72|>=8,<8.8.8|>=8.9,<8.9.1|>=9,<9.0.1",
"drupal/drupal": ">=7,<7.72|>=8,<8.8.8|>=8.9,<8.9.1|>=9,<9.0.1",
"endroid/qr-code-bundle": "<3.4.2",
"enshrined/svg-sanitize": "<0.13.1",
"erusev/parsedown": "<1.7.2",
@ -7139,6 +7175,7 @@
"pear/archive_tar": "<1.4.4",
"phpfastcache/phpfastcache": ">=5,<5.0.13",
"phpmailer/phpmailer": "<6.1.6",
"phpmussel/phpmussel": ">=1,<1.6",
"phpmyadmin/phpmyadmin": "<4.9.2",
"phpoffice/phpexcel": "<1.8.2",
"phpoffice/phpspreadsheet": "<1.8",
@ -7302,7 +7339,7 @@
"type": "tidelift"
}
],
"time": "2020-06-04T00:00:55+00:00"
"time": "2020-06-19T13:23:43+00:00"
},
{
"name": "sebastian/code-unit-reverse-lookup",
@ -7961,16 +7998,16 @@
},
{
"name": "webmozart/assert",
"version": "1.8.0",
"version": "1.9.0",
"source": {
"type": "git",
"url": "https://github.com/webmozart/assert.git",
"reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6"
"reference": "9dc4f203e36f2b486149058bade43c851dd97451"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/webmozart/assert/zipball/ab2cb0b3b559010b75981b1bdce728da3ee90ad6",
"reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6",
"url": "https://api.github.com/repos/webmozart/assert/zipball/9dc4f203e36f2b486149058bade43c851dd97451",
"reference": "9dc4f203e36f2b486149058bade43c851dd97451",
"shasum": ""
},
"require": {
@ -7978,6 +8015,7 @@
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
"phpstan/phpstan": "<0.12.20",
"vimeo/psalm": "<3.9.1"
},
"require-dev": {
@ -8005,7 +8043,7 @@
"check",
"validate"
],
"time": "2020-04-18T12:12:48+00:00"
"time": "2020-06-16T10:16:42+00:00"
}
],
"aliases": [

View File

@ -164,24 +164,21 @@ class StatsApiServiceTest extends AbstractIntegrationTestCase
private function getExpectedStatsDataJson(array $anrUuids): string
{
$allStatsData = json_decode(
file_get_contents($this->testPath . '/data/expected_stats_data_for_all_anrs.json'),
$statsData = json_decode(
file_get_contents($this->testPath . '/data/expected_stats_data_for_my_print.json'),
true
);
$expectedStats = [];
foreach ($anrUuids as $num => $anrUuid) {
foreach ($allStatsData as $statsData) {
if ($statsData['anr'] !== '{{uuid_' . $num . '}}') {
continue;
}
$statsData['anr'] = $anrUuid;
$statsData['day'] = $this->currentDateParams['day'];
$statsData['week'] = $this->currentDateParams['week'];
$statsData['month'] = $this->currentDateParams['month'];
$statsData['quarter'] = $this->currentDateParams['quarter'];
$statsData['year'] = $this->currentDateParams['year'];
$expectedStats[] = $statsData;
foreach ($statsData as $data) {
$data['anr'] = $anrUuid;
$data['day'] = $this->currentDateParams['day'];
$data['week'] = $this->currentDateParams['week'];
$data['month'] = $this->currentDateParams['month'];
$data['quarter'] = $this->currentDateParams['quarter'];
$data['year'] = $this->currentDateParams['year'];
$expectedStats[] = $data;
}
}

View File

@ -1,6 +1,8 @@
<?php
$appdir = dirname(__DIR__);
use Doctrine\Common\Proxy\AbstractProxyFactory;
$dataPath = getenv('TESTS_DIR') . '/data';
return [
'doctrine' => [
@ -34,38 +36,38 @@ return [
],
'entitymanager' => [
'orm_default' => [
'connection' => 'orm_default',
'connection' => 'orm_default',
'configuration' => 'orm_default'
],
'orm_cli' => [
'connection' => 'orm_cli',
'connection' => 'orm_cli',
'configuration' => 'orm_cli',
],
],
'configuration' => [
'orm_default' => [
'metadata_cache' => 'array',
'query_cache' => 'array',
'result_cache' => 'array',
'driver' => 'orm_default',
'generate_proxies' => false,
'filters' => [],
'datetime_functions' => [],
'string_functions' => [],
'numeric_functions' => [],
'second_level_cache' => [],
'metadata_cache' => 'array',
'query_cache' => 'array',
'result_cache' => 'array',
'driver' => 'orm_default',
'generate_proxies' => AbstractProxyFactory::AUTOGENERATE_EVAL,
'filters' => [],
'datetime_functions' => [],
'string_functions' => [],
'numeric_functions' => [],
'second_level_cache' => [],
],
'orm_cli' => [
'metadata_cache' => 'array',
'query_cache' => 'array',
'result_cache' => 'array',
'driver' => 'orm_cli',
'generate_proxies' => false,
'filters' => [],
'datetime_functions' => [],
'string_functions' => [],
'numeric_functions' => [],
'second_level_cache' => [],
'metadata_cache' => 'array',
'query_cache' => 'array',
'result_cache' => 'array',
'driver' => 'orm_cli',
'generate_proxies' => AbstractProxyFactory::AUTOGENERATE_EVAL,
'filters' => [],
'datetime_functions' => [],
'string_functions' => [],
'numeric_functions' => [],
'second_level_cache' => [],
],
],
],

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,4 +6,7 @@ DBPASSWORD_MONARC="sqlmonarcuser"
# Comment/Uncomment and modify the following line to run tests from your host machine:
CONNECTION_OPTIONS="--ssl-key=~/web/monarc/MonarcAppFO/vagrant/.vagrant/machines/default/virtualbox/private_key"
mysql -h $DBHOST -u $DBUSER_MONARC -p$DBPASSWORD_MONARC $CONNECTION_OPTIONS monarc_cli_test < tests/data/insert_my_print_anrs.sql > /dev/null
for i in {0..5}
do
mysql -h $DBHOST -u $DBUSER_MONARC -p$DBPASSWORD_MONARC $CONNECTION_OPTIONS monarc_cli_test < tests/data/insert_my_print_anrs.sql > /dev/null
done