Codeception / Codeception/module-laminas

`seeCurrentRouteIs` fails when routes have a query param

Aperta
#29 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
1
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I currently work around this by just building the URL and checking that the url starts with it.

Output from our acceptance tests:

```
7) LoginCest: Test user cannot login with incorrect password | "" OR "1"="1"
Test tests/acceptance/User/LoginCest.php:testUserCannotLoginWithIncorrectPassword
Step See current route is "home/auth/login",{"lang":"zh_CN"}
Fail Failed asserting that two strings are identical.
- Expected | + Actual
@@ @@
-'/zh_CN/auth/login'
+'/zh_CN/auth/login?nocache=true'
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.