Commit 9910291a authored by Torben Hansen's avatar Torben Hansen Committed by Georg Ringer
Browse files

[TASK] Raise symfony/rate-limiter:^5.4.8 and re-enable tests

symfony/rate-limiter:5.4.8 has been released, so the failing
tests commented out with #97298 can be included again.

Raised symfony/rate-limiter:^5.4.8 to ensure that broken
version is not used.

Used commands:

> composer req "symfony/rate-limiter":"^5.4.8"
> composer req "symfony/rate-limiter":"^5.4.8" \
    -d typo3/sysext/core --no-update

Resolves: #97494
Related: #97298
Releases: main, 11.5
Change-Id: Idaa17f130a56f3e23c56243f24ecdccc14ac4b46
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74451

Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: Simon Schaufelberger's avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Simon Schaufelberger's avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
parent f34013fa
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "b31ecb17485cb0b60b9b1085d873eb0e",
"content-hash": "4946d55bcce2572af08591f32ce9e10d",
"packages": [
{
"name": "bacon/bacon-qr-code",
......@@ -3411,16 +3411,16 @@
},
{
"name": "symfony/rate-limiter",
"version": "v5.4.2",
"version": "v5.4.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/rate-limiter.git",
"reference": "bef5489f1a8504777a49498e1652e6bf9f229a4d"
"reference": "c77d140eb88f99051e934435af64963cc5d99e16"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/rate-limiter/zipball/bef5489f1a8504777a49498e1652e6bf9f229a4d",
"reference": "bef5489f1a8504777a49498e1652e6bf9f229a4d",
"url": "https://api.github.com/repos/symfony/rate-limiter/zipball/c77d140eb88f99051e934435af64963cc5d99e16",
"reference": "c77d140eb88f99051e934435af64963cc5d99e16",
"shasum": ""
},
"require": {
......@@ -3461,7 +3461,7 @@
"rate-limiter"
],
"support": {
"source": "https://github.com/symfony/rate-limiter/tree/v5.4.2"
"source": "https://github.com/symfony/rate-limiter/tree/v5.4.8"
},
"funding": [
{
......@@ -3477,7 +3477,7 @@
"type": "tidelift"
}
],
"time": "2021-12-15T11:06:13+00:00"
"time": "2022-04-03T11:05:26+00:00"
},
{
"name": "symfony/routing",
......
......@@ -32,30 +32,24 @@ class RateLimiterFactoryTest extends FunctionalTestCase
public function loginRateLimiterLimitsRequestsDataProvider(): array
{
return [
/*
* @todo: activate when symfony/rate-limiter 5.4.8 has been released.
'backend accepted' => [
'BE',
5,
1,
true,
],
*/
'backend denied' => [
'BE',
5,
6,
false,
],
/*
* @todo: activate when symfony/rate-limiter 5.4.8 has been released.
'frontend accepted' => [
'FE',
5,
1,
true,
],
*/
'frontend denied' => [
'FE',
5,
......
......@@ -62,7 +62,7 @@
"symfony/mailer": "^5.4",
"symfony/mime": "^5.4",
"symfony/options-resolver": "^5.4",
"symfony/rate-limiter": "^5.4",
"symfony/rate-limiter": "^5.4.8",
"symfony/routing": "^5.4",
"symfony/yaml": "^5.4",
"typo3/class-alias-loader": "^1.0",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment