From 43b93f4f0a4630dd5d80bbcc36c951e6b8ea2e8c Mon Sep 17 00:00:00 2001 From: TavoNiievez Date: Sat, 30 Dec 2023 23:55:06 -0500 Subject: [PATCH] seeEvent fails with non-existent events. --- composer.lock | 218 ++++++++++++++++---------------- tests/Functional/EventsCest.php | 16 ++- 2 files changed, 120 insertions(+), 114 deletions(-) diff --git a/composer.lock b/composer.lock index 0d5c347..a00ae6c 100644 --- a/composer.lock +++ b/composer.lock @@ -1246,16 +1246,16 @@ }, { "name": "symfony/cache", - "version": "v5.4.32", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "2553faca77502a4f68dc93cd2f3b9ec650751e40" + "reference": "b17f28169f7a2f2c0cddf2b044d729f5b75efe5a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/2553faca77502a4f68dc93cd2f3b9ec650751e40", - "reference": "2553faca77502a4f68dc93cd2f3b9ec650751e40", + "url": "https://api.github.com/repos/symfony/cache/zipball/b17f28169f7a2f2c0cddf2b044d729f5b75efe5a", + "reference": "b17f28169f7a2f2c0cddf2b044d729f5b75efe5a", "shasum": "" }, "require": { @@ -1323,7 +1323,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v5.4.32" + "source": "https://github.com/symfony/cache/tree/v5.4.34" }, "funding": [ { @@ -1339,7 +1339,7 @@ "type": "tidelift" } ], - "time": "2023-11-24T13:04:07+00:00" + "time": "2023-12-18T14:56:06+00:00" }, { "name": "symfony/cache-contracts", @@ -1501,16 +1501,16 @@ }, { "name": "symfony/console", - "version": "v5.4.32", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "c70df1ffaf23a8d340bded3cfab1b86752ad6ed7" + "reference": "4b4d8cd118484aa604ec519062113dd87abde18c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/c70df1ffaf23a8d340bded3cfab1b86752ad6ed7", - "reference": "c70df1ffaf23a8d340bded3cfab1b86752ad6ed7", + "url": "https://api.github.com/repos/symfony/console/zipball/4b4d8cd118484aa604ec519062113dd87abde18c", + "reference": "4b4d8cd118484aa604ec519062113dd87abde18c", "shasum": "" }, "require": { @@ -1580,7 +1580,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.32" + "source": "https://github.com/symfony/console/tree/v5.4.34" }, "funding": [ { @@ -1596,20 +1596,20 @@ "type": "tidelift" } ], - "time": "2023-11-18T18:23:04+00:00" + "time": "2023-12-08T13:33:03+00:00" }, { "name": "symfony/dependency-injection", - "version": "v5.4.33", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "14969a558cd6382b2a12b14b20ef9a851a02da79" + "reference": "75d568165a65fa7d8124869ec7c3a90424352e6c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/14969a558cd6382b2a12b14b20ef9a851a02da79", - "reference": "14969a558cd6382b2a12b14b20ef9a851a02da79", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/75d568165a65fa7d8124869ec7c3a90424352e6c", + "reference": "75d568165a65fa7d8124869ec7c3a90424352e6c", "shasum": "" }, "require": { @@ -1669,7 +1669,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.4.33" + "source": "https://github.com/symfony/dependency-injection/tree/v5.4.34" }, "funding": [ { @@ -1685,7 +1685,7 @@ "type": "tidelift" } ], - "time": "2023-11-30T08:15:37+00:00" + "time": "2023-12-28T09:31:38+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1756,16 +1756,16 @@ }, { "name": "symfony/doctrine-bridge", - "version": "v5.4.31", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/doctrine-bridge.git", - "reference": "e82ccb815ac20fd6579e1f42f924071f20fa4264" + "reference": "0c5e5ad8b8249a0a86f415e16695180c3b61be76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/e82ccb815ac20fd6579e1f42f924071f20fa4264", - "reference": "e82ccb815ac20fd6579e1f42f924071f20fa4264", + "url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/0c5e5ad8b8249a0a86f415e16695180c3b61be76", + "reference": "0c5e5ad8b8249a0a86f415e16695180c3b61be76", "shasum": "" }, "require": { @@ -1852,7 +1852,7 @@ "description": "Provides integration for Doctrine with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/doctrine-bridge/tree/v5.4.31" + "source": "https://github.com/symfony/doctrine-bridge/tree/v5.4.34" }, "funding": [ { @@ -1868,20 +1868,20 @@ "type": "tidelift" } ], - "time": "2023-10-31T07:58:33+00:00" + "time": "2023-12-14T14:38:10+00:00" }, { "name": "symfony/dotenv", - "version": "v5.4.30", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/dotenv.git", - "reference": "ceed2cd28442adcf3679a9a82dacd45baeefc458" + "reference": "07d75571cc7efc88f1aae96eddc5f671826c7327" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dotenv/zipball/ceed2cd28442adcf3679a9a82dacd45baeefc458", - "reference": "ceed2cd28442adcf3679a9a82dacd45baeefc458", + "url": "https://api.github.com/repos/symfony/dotenv/zipball/07d75571cc7efc88f1aae96eddc5f671826c7327", + "reference": "07d75571cc7efc88f1aae96eddc5f671826c7327", "shasum": "" }, "require": { @@ -1923,7 +1923,7 @@ "environment" ], "support": { - "source": "https://github.com/symfony/dotenv/tree/v5.4.30" + "source": "https://github.com/symfony/dotenv/tree/v5.4.34" }, "funding": [ { @@ -1939,7 +1939,7 @@ "type": "tidelift" } ], - "time": "2023-10-26T16:37:39+00:00" + "time": "2023-12-28T12:17:46+00:00" }, { "name": "symfony/error-handler", @@ -2014,16 +2014,16 @@ }, { "name": "symfony/event-dispatcher", - "version": "v5.4.26", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "5dcc00e03413f05c1e7900090927bb7247cb0aac" + "reference": "e3bca343efeb613f843c254e7718ef17c9bdf7a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/5dcc00e03413f05c1e7900090927bb7247cb0aac", - "reference": "5dcc00e03413f05c1e7900090927bb7247cb0aac", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e3bca343efeb613f843c254e7718ef17c9bdf7a3", + "reference": "e3bca343efeb613f843c254e7718ef17c9bdf7a3", "shasum": "" }, "require": { @@ -2079,7 +2079,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.26" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.34" }, "funding": [ { @@ -2095,7 +2095,7 @@ "type": "tidelift" } ], - "time": "2023-07-06T06:34:20+00:00" + "time": "2023-12-27T21:12:56+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -2472,16 +2472,16 @@ }, { "name": "symfony/framework-bundle", - "version": "v5.4.32", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/framework-bundle.git", - "reference": "14597eccde5051368918bce92393be9ba941db14" + "reference": "ee446bb6a89ec758ffc1614f54c003124c7d7a88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/14597eccde5051368918bce92393be9ba941db14", - "reference": "14597eccde5051368918bce92393be9ba941db14", + "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/ee446bb6a89ec758ffc1614f54c003124c7d7a88", + "reference": "ee446bb6a89ec758ffc1614f54c003124c7d7a88", "shasum": "" }, "require": { @@ -2509,7 +2509,7 @@ "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", "symfony/asset": "<5.3", - "symfony/console": "<5.2.5", + "symfony/console": "<5.2.5|>=7.0", "symfony/dom-crawler": "<4.4", "symfony/dotenv": "<5.1", "symfony/form": "<5.2", @@ -2602,7 +2602,7 @@ "description": "Provides a tight integration between Symfony components and the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/framework-bundle/tree/v5.4.32" + "source": "https://github.com/symfony/framework-bundle/tree/v5.4.34" }, "funding": [ { @@ -2618,20 +2618,20 @@ "type": "tidelift" } ], - "time": "2023-11-23T15:18:29+00:00" + "time": "2023-12-29T14:52:40+00:00" }, { "name": "symfony/http-foundation", - "version": "v5.4.32", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "cbcd80a4c36f59772d62860fdb0cb6a38da63fd2" + "reference": "4da1713e88cf9c44bd4bf65f54772681222fcbec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/cbcd80a4c36f59772d62860fdb0cb6a38da63fd2", - "reference": "cbcd80a4c36f59772d62860fdb0cb6a38da63fd2", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/4da1713e88cf9c44bd4bf65f54772681222fcbec", + "reference": "4da1713e88cf9c44bd4bf65f54772681222fcbec", "shasum": "" }, "require": { @@ -2678,7 +2678,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.4.32" + "source": "https://github.com/symfony/http-foundation/tree/v5.4.34" }, "funding": [ { @@ -2694,20 +2694,20 @@ "type": "tidelift" } ], - "time": "2023-11-20T15:40:25+00:00" + "time": "2023-12-27T11:45:35+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.4.33", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "892636f9279f953dc266dc088f900b03eecb4ffa" + "reference": "f2b00c66d1c7ef12f3fc625af2a0bc5d5857db7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/892636f9279f953dc266dc088f900b03eecb4ffa", - "reference": "892636f9279f953dc266dc088f900b03eecb4ffa", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f2b00c66d1c7ef12f3fc625af2a0bc5d5857db7b", + "reference": "f2b00c66d1c7ef12f3fc625af2a0bc5d5857db7b", "shasum": "" }, "require": { @@ -2790,7 +2790,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.4.33" + "source": "https://github.com/symfony/http-kernel/tree/v5.4.34" }, "funding": [ { @@ -2806,20 +2806,20 @@ "type": "tidelift" } ], - "time": "2023-12-01T16:51:11+00:00" + "time": "2023-12-30T13:02:02+00:00" }, { "name": "symfony/mailer", - "version": "v5.4.31", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "5ca8a7628a5ee69767047dd0f4cf4c9521c999b8" + "reference": "0d2c0e0fdd07c80d95eadcdbba6af41e9aafcfa5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/5ca8a7628a5ee69767047dd0f4cf4c9521c999b8", - "reference": "5ca8a7628a5ee69767047dd0f4cf4c9521c999b8", + "url": "https://api.github.com/repos/symfony/mailer/zipball/0d2c0e0fdd07c80d95eadcdbba6af41e9aafcfa5", + "reference": "0d2c0e0fdd07c80d95eadcdbba6af41e9aafcfa5", "shasum": "" }, "require": { @@ -2866,7 +2866,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v5.4.31" + "source": "https://github.com/symfony/mailer/tree/v5.4.34" }, "funding": [ { @@ -2882,7 +2882,7 @@ "type": "tidelift" } ], - "time": "2023-11-03T16:16:43+00:00" + "time": "2023-12-02T08:41:43+00:00" }, { "name": "symfony/mime", @@ -4113,16 +4113,16 @@ }, { "name": "symfony/routing", - "version": "v5.4.33", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "5b5b86670f947db92ab54cdcff585e76064d0b04" + "reference": "f1d08ed59d7718845bb70acd7480fa7da8966ec0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/5b5b86670f947db92ab54cdcff585e76064d0b04", - "reference": "5b5b86670f947db92ab54cdcff585e76064d0b04", + "url": "https://api.github.com/repos/symfony/routing/zipball/f1d08ed59d7718845bb70acd7480fa7da8966ec0", + "reference": "f1d08ed59d7718845bb70acd7480fa7da8966ec0", "shasum": "" }, "require": { @@ -4183,7 +4183,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v5.4.33" + "source": "https://github.com/symfony/routing/tree/v5.4.34" }, "funding": [ { @@ -4199,7 +4199,7 @@ "type": "tidelift" } ], - "time": "2023-12-01T09:28:00+00:00" + "time": "2023-12-27T12:51:02+00:00" }, { "name": "symfony/runtime", @@ -4283,16 +4283,16 @@ }, { "name": "symfony/security-bundle", - "version": "v5.4.31", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/security-bundle.git", - "reference": "92e24de1759b6a502896d87c5e0997973ef47ac4" + "reference": "6477c31e36dfa25b07befea20bc8326f4ba11d75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-bundle/zipball/92e24de1759b6a502896d87c5e0997973ef47ac4", - "reference": "92e24de1759b6a502896d87c5e0997973ef47ac4", + "url": "https://api.github.com/repos/symfony/security-bundle/zipball/6477c31e36dfa25b07befea20bc8326f4ba11d75", + "reference": "6477c31e36dfa25b07befea20bc8326f4ba11d75", "shasum": "" }, "require": { @@ -4366,7 +4366,7 @@ "description": "Provides a tight integration of the Security component into the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/security-bundle/tree/v5.4.31" + "source": "https://github.com/symfony/security-bundle/tree/v5.4.34" }, "funding": [ { @@ -4382,7 +4382,7 @@ "type": "tidelift" } ], - "time": "2023-11-09T09:26:13+00:00" + "time": "2023-12-19T08:26:08+00:00" }, { "name": "symfony/security-core", @@ -4789,16 +4789,16 @@ }, { "name": "symfony/string", - "version": "v5.4.32", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "91bf4453d65d8231688a04376c3a40efe0770f04" + "reference": "e3f98bfc7885c957488f443df82d97814a3ce061" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/91bf4453d65d8231688a04376c3a40efe0770f04", - "reference": "91bf4453d65d8231688a04376c3a40efe0770f04", + "url": "https://api.github.com/repos/symfony/string/zipball/e3f98bfc7885c957488f443df82d97814a3ce061", + "reference": "e3f98bfc7885c957488f443df82d97814a3ce061", "shasum": "" }, "require": { @@ -4855,7 +4855,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.32" + "source": "https://github.com/symfony/string/tree/v5.4.34" }, "funding": [ { @@ -4871,7 +4871,7 @@ "type": "tidelift" } ], - "time": "2023-11-26T13:43:46+00:00" + "time": "2023-12-09T13:20:28+00:00" }, { "name": "symfony/translation", @@ -5050,16 +5050,16 @@ }, { "name": "symfony/validator", - "version": "v5.4.32", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "d205d071c4a7ef5b6b43349c7e41d47d1b227636" + "reference": "0700751f19b5e8dcfadb6614662216a93f37e2dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/d205d071c4a7ef5b6b43349c7e41d47d1b227636", - "reference": "d205d071c4a7ef5b6b43349c7e41d47d1b227636", + "url": "https://api.github.com/repos/symfony/validator/zipball/0700751f19b5e8dcfadb6614662216a93f37e2dd", + "reference": "0700751f19b5e8dcfadb6614662216a93f37e2dd", "shasum": "" }, "require": { @@ -5142,7 +5142,7 @@ "description": "Provides tools to validate values", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/validator/tree/v5.4.32" + "source": "https://github.com/symfony/validator/tree/v5.4.34" }, "funding": [ { @@ -5158,7 +5158,7 @@ "type": "tidelift" } ], - "time": "2023-11-29T07:42:18+00:00" + "time": "2023-12-29T15:57:36+00:00" }, { "name": "symfony/var-dumper", @@ -6851,16 +6851,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.43.1", + "version": "v3.45.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "91c0b47216aa43b09656b4d99aa9dade2f3ad8fc" + "reference": "c0daa33cb2533cd73f48dde1c70c2afa3e7953b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/91c0b47216aa43b09656b4d99aa9dade2f3ad8fc", - "reference": "91c0b47216aa43b09656b4d99aa9dade2f3ad8fc", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/c0daa33cb2533cd73f48dde1c70c2afa3e7953b5", + "reference": "c0daa33cb2533cd73f48dde1c70c2afa3e7953b5", "shasum": "" }, "require": { @@ -6929,7 +6929,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.43.1" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.45.0" }, "funding": [ { @@ -6937,7 +6937,7 @@ "type": "github" } ], - "time": "2023-12-29T09:42:16+00:00" + "time": "2023-12-30T02:07:07+00:00" }, { "name": "graham-campbell/result-type", @@ -10754,16 +10754,16 @@ }, { "name": "symfony/process", - "version": "v5.4.28", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b" + "reference": "8fa22178dfc368911dbd513b431cd9b06f9afe7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b", - "reference": "45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b", + "url": "https://api.github.com/repos/symfony/process/zipball/8fa22178dfc368911dbd513b431cd9b06f9afe7a", + "reference": "8fa22178dfc368911dbd513b431cd9b06f9afe7a", "shasum": "" }, "require": { @@ -10796,7 +10796,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.28" + "source": "https://github.com/symfony/process/tree/v5.4.34" }, "funding": [ { @@ -10812,7 +10812,7 @@ "type": "tidelift" } ], - "time": "2023-08-07T10:36:04+00:00" + "time": "2023-12-02T08:41:43+00:00" }, { "name": "symfony/stopwatch", @@ -10878,16 +10878,16 @@ }, { "name": "symfony/twig-bridge", - "version": "v5.4.31", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/twig-bridge.git", - "reference": "fc6ee0a3b672ea12ca1f26592d257bfc7f4ee942" + "reference": "4ced0e91705d689b77763678367bd522d79f9f9a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/fc6ee0a3b672ea12ca1f26592d257bfc7f4ee942", - "reference": "fc6ee0a3b672ea12ca1f26592d257bfc7f4ee942", + "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/4ced0e91705d689b77763678367bd522d79f9f9a", + "reference": "4ced0e91705d689b77763678367bd522d79f9f9a", "shasum": "" }, "require": { @@ -10979,7 +10979,7 @@ "description": "Provides integration for Twig with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/twig-bridge/tree/v5.4.31" + "source": "https://github.com/symfony/twig-bridge/tree/v5.4.34" }, "funding": [ { @@ -10995,7 +10995,7 @@ "type": "tidelift" } ], - "time": "2023-11-09T21:19:08+00:00" + "time": "2023-12-15T11:59:38+00:00" }, { "name": "symfony/twig-bundle", @@ -11089,16 +11089,16 @@ }, { "name": "symfony/web-profiler-bundle", - "version": "v5.4.31", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/web-profiler-bundle.git", - "reference": "c3e04e0ad13df22acad1157a5b66404a85c3c538" + "reference": "8b3344d0d7faeb6c52e60d4a3657405c5c68625f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/web-profiler-bundle/zipball/c3e04e0ad13df22acad1157a5b66404a85c3c538", - "reference": "c3e04e0ad13df22acad1157a5b66404a85c3c538", + "url": "https://api.github.com/repos/symfony/web-profiler-bundle/zipball/8b3344d0d7faeb6c52e60d4a3657405c5c68625f", + "reference": "8b3344d0d7faeb6c52e60d4a3657405c5c68625f", "shasum": "" }, "require": { @@ -11149,7 +11149,7 @@ "description": "Provides a development tool that gives detailed information about the execution of any request", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/web-profiler-bundle/tree/v5.4.31" + "source": "https://github.com/symfony/web-profiler-bundle/tree/v5.4.34" }, "funding": [ { @@ -11165,7 +11165,7 @@ "type": "tidelift" } ], - "time": "2023-10-31T14:39:57+00:00" + "time": "2023-12-20T14:42:24+00:00" }, { "name": "theseer/tokenizer", diff --git a/tests/Functional/EventsCest.php b/tests/Functional/EventsCest.php index 8c09b6f..2278f83 100644 --- a/tests/Functional/EventsCest.php +++ b/tests/Functional/EventsCest.php @@ -6,6 +6,7 @@ use App\Event\UserRegisteredEvent; use App\Tests\FunctionalTester; +use PHPUnit\Framework\ExpectationFailedException; use Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector; use Symfony\Component\Console\ConsoleEvents; use Symfony\Component\Console\EventListener\ErrorListener; @@ -43,14 +44,13 @@ public function dontSeeOrphanEvent(FunctionalTester $I) $I->submitForm('form[name=login]', [ 'email' => 'john_doe@gmail.com', 'password' => '123456', - '_remember_me' => false + '_remember_me' => false, ]); $I->dontSeeOrphanEvent(); } public function dontSeeEvent(FunctionalTester $I) { - $I->markTestSkipped(); $I->amOnPage('/'); $I->dontSeeEvent(KernelEvents::EXCEPTION); $I->dontSeeEvent([new UserRegisteredEvent(), ConsoleEvents::COMMAND]); @@ -85,22 +85,28 @@ public function seeOrphanEvent(FunctionalTester $I) $I->submitSymfonyForm('registration_form', [ '[email]' => 'jane_doe@gmail.com', '[plainPassword]' => '123456', - '[agreeTerms]' => true + '[agreeTerms]' => true, ]); $I->seeOrphanEvent(UserRegisteredEvent::class); } public function seeEvent(FunctionalTester $I) { - $I->markTestSkipped(); $I->amOnPage('/register'); $I->stopFollowingRedirects(); $I->submitSymfonyForm('registration_form', [ '[email]' => 'jane_doe@gmail.com', '[plainPassword]' => '123456', - '[agreeTerms]' => true + '[agreeTerms]' => true, ]); $I->seeEvent(UserRegisteredEvent::class); $I->seeEvent(KernelEvents::REQUEST, KernelEvents::FINISH_REQUEST); + try { + $I->seeEvent('non-existent-event'); + } catch (ExpectationFailedException $ex) { + $I->assertTrue(true, 'seeEvent assertion fails with non-existent events.'); + return; + } + $I->fail('seeEvent assertion did not fail as expected'); } }