#227 broke backwards compatibility with tests written for prior versions of the module.
The following test now fails:
$I->seeCurrentRouteIs('some_route', [
'id' => 1,
]);
With:
- Expected | + Actual
@@ @@
Array &0 [
'_route' => 'some_route',
- 'id' => 1,
+ 'id' => '1',
]
This usage is even how the method is documented:
|
* $I->seeCurrentRouteIs('posts.show', ['id' => 8]); |
#227 broke backwards compatibility with tests written for prior versions of the module.
The following test now fails:
With:
This usage is even how the method is documented:
module-symfony/src/Codeception/Module/Symfony/RouterAssertionsTrait.php
Line 87 in 01cfa3e