Fixed PWFC test. Issue

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony-cmf/symfony-cmf/issues/172
| License       | MIT
| Doc PR        | #