Skip to content

Commit 6fe1e4a

Browse files
github-actions[bot]github-actions[bot]
authored andcommitted
updated
1 parent 0ce61a3 commit 6fe1e4a

File tree

2 files changed

+36
-31
lines changed

2 files changed

+36
-31
lines changed

changelog.markdown

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ title: Codeception Changelog
99

1010

1111

12+
### module-symfony 3.9.0: 3.9.0
13+
14+
Released by [![](https://avatars.githubusercontent.com/u/64917965?v=4&s=16){:height="16" width="16"} TavoNiievez](https://github.com/TavoNiievez) on 2026/04/01 00:06:35 / [Repository](https://github.com/Codeception/module-symfony) / [Releases](https://github.com/Codeception/module-symfony/releases)
15+
16+
17+
18+
## What's Changed
19+
* Allow Symfony 8 by **[W0rma](https://github.com/W0rma)** in https://github.com/Codeception/module-symfony/pull/225
20+
* Performance Optimizations and Code Audit by **[TavoNiievez](https://github.com/TavoNiievez)** in https://github.com/Codeception/module-symfony/commit/768cdc6fa41dfd85f92b180ffccd90daa0fa26f4
21+
* Run module tests using PHPUnit by **[TavoNiievez](https://github.com/TavoNiievez)** in https://github.com/Codeception/module-symfony/commit/c37d23e5b6cae52a5b7ca47c87f27c1f524fb0cf
22+
23+
24+
**Full Changelog**: https://github.com/Codeception/module-symfony/compare/3.8.0...3.9.0
25+
26+
1227
### module-redis 3.2.3: 3.2.3
1328

1429
Released by [![](https://avatars.githubusercontent.com/u/20659830?v=4&s=16){:height="16" width="16"} W0rma](https://github.com/W0rma) on 2026/02/18 06:48:20 / [Repository](https://github.com/Codeception/module-redis) / [Releases](https://github.com/Codeception/module-redis/releases)
@@ -4455,15 +4470,6 @@ Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16){:heigh
44554470
[#5](https://github.com/Codeception/lib-asserts/issues/5) by **[TavoNiievez](https://github.com/TavoNiievez)**
44564471

44574472

4458-
### module-symfony 1.1.1: Fixed seeEmailIsSent
4459-
4460-
Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16){:height="16" width="16"} Naktibalda](https://github.com/Naktibalda) on 2020/08/28 07:06:19 / [Repository](https://github.com/Codeception/module-symfony) / [Releases](https://github.com/Codeception/module-symfony/releases)
4461-
4462-
4463-
4464-
[#9](https://github.com/Codeception/module-symfony/issues/9) by **[ThomasLandauer](https://github.com/ThomasLandauer)** and **[TavoNiievez](https://github.com/TavoNiievez)**
4465-
4466-
44674473
### module-webdriver 1.1.1: Multibyte characters are allowed in build artefact filenames
44684474

44694475
Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16){:height="16" width="16"} Naktibalda](https://github.com/Naktibalda) on 2020/08/28 07:01:59 / [Repository](https://github.com/Codeception/module-webdriver) / [Releases](https://github.com/Codeception/module-webdriver/releases)

docs/modules/Symfony.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ Asserts that the given URL *has not* been requested with the supplied HTTP metho
779779

780780
By default, it will inspect the default Symfony HttpClient; you may check a different one by passing its
781781
service-id in $httpClientId.
782+
782783
{% highlight php %}
783784

784785
$I->assertNotHttpClientRequest('https://example.com/unexpected', 'GET');
@@ -836,7 +837,7 @@ Use `getNotifierEvent(int $index = 0, ?string $transportName = null)` to retriev
836837

837838
<?php
838839
$event = $I->getNotifierEvent();
839-
$I->assertNotificationlIsQueued($event);
840+
$I->assertNotificationIsQueued($event);
840841

841842
{% endhighlight %}
842843

@@ -1905,7 +1906,7 @@ $I->dontSeeResponseCodeIs(\Codeception\Util\HttpCode::OK);
19051906
* `param ?string` $constraint
19061907
* `return void`
19071908
1908-
Asserts that the given subject fails validation.
1909+
Asserts that the given subject passes validation.
19091910
19101911
This assertion does not concern the exact number of violations.
19111912
@@ -2250,8 +2251,9 @@ $notifications = $I->grabSentNotifications();
22502251
#### grabService
22512252
22522253
* `part` services
2253-
* `param non-empty-string` $serviceId
2254-
* `return object`
2254+
* `template` T of object
2255+
* `param string|class-string<T>` $serviceId
2256+
* `return ($serviceId` is class-string<T> ? T : object)
22552257
22562258
Grabs a service from the Symfony dependency injection container (DIC).
22572259
@@ -2479,7 +2481,9 @@ You can set additional cookie params like `domain`, `path` in array passed as la
24792481
24802482
Run Symfony console command, grab response and return as string.
24812483
2482-
Recommended to use for integration or functional testing.
2484+
Recommended to use for functional testing.
2485+
2486+
Note: The command execution is isolated to bypass global application events, preventing unintended side effects.
24832487
24842488
{% highlight php %}
24852489
@@ -2590,7 +2594,7 @@ $I->seeCookie('PHPSESSID');
25902594
25912595
#### seeCurrentActionIs
25922596
2593-
* `param string` $action
2597+
* `param non-empty-string` $action
25942598
* `return void`
25952599
25962600
Checks that current page matches action
@@ -2839,8 +2843,8 @@ $I->seeFormErrorMessage('username', 'Username is empty');
28392843
28402844
Verifies that multiple fields on a form have errors.
28412845
2842-
If you only specify the name of the fields, this method will
2843-
verify that the field contains at least one error of any type:
2846+
Use a list of field names when you only need to assert that each field
2847+
has at least one validation error:
28442848
28452849
{% highlight php %}
28462850
@@ -2849,27 +2853,22 @@ $I->seeFormErrorMessages(['telephone', 'address']);
28492853
28502854
{% endhighlight %}
28512855
2852-
If you want to specify the error messages, you can do so
2853-
by sending an associative array instead, with the key being
2854-
the name of the field and the error message the value.
2855-
This method will validate that the expected error message
2856-
is contained in the actual error message, that is,
2857-
you can specify either the entire error message or just a part of it:
2856+
Use an associative array to also verify the error text for one or more
2857+
fields. The expected message is matched as a substring, so partial
2858+
fragments are allowed:
28582859
28592860
{% highlight php %}
28602861
28612862
<?php
28622863
$I->seeFormErrorMessages([
28632864
'address' => 'The address is too long',
2864-
'telephone' => 'too short', // the full error message is 'The telephone is too short'
2865+
'telephone' => 'too short',
28652866
]);
28662867
28672868
{% endhighlight %}
28682869
2869-
If you don't want to specify the error message for some fields,
2870-
you can pass `null` as value instead of the message string,
2871-
or you can directly omit the value of that field. If that is the case,
2872-
it will be validated that that field has at least one error of any type:
2870+
You can mix both styles in the same call. If a field maps to `null`,
2871+
only the existence of an error is checked for that field:
28732872
28742873
{% highlight php %}
28752874
@@ -3118,7 +3117,7 @@ If your app performs an HTTP redirect after sending the notification, you need t
31183117
{% highlight php %}
31193118
31203119
<?php
3121-
$I->seeNotificatoinIsSent(2);
3120+
$I->seeNotificationIsSent(2);
31223121
31233122
{% endhighlight %}
31243123
@@ -3416,7 +3415,7 @@ $I->seeUserPasswordDoesNotNeedRehash($user);
34163415
* `param ?string` $constraint
34173416
* `return void`
34183417
3419-
Asserts that the given subject passes validation.
3418+
Asserts that the given subject fails validation.
34203419
34213420
This assertion does not concern the exact number of violations.
34223421
@@ -3900,7 +3899,7 @@ $I->uncheckOption('#notify');
39003899
#### unpersistService
39013900
39023901
* `part` services
3903-
* `param string` $serviceName
3902+
* `param non-empty-string` $serviceName
39043903
* `return void`
39053904
39063905
Remove service $serviceName from the lists of persistent services.

0 commit comments

Comments
 (0)