You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It fails with new http foundation. In my case it is 4.0.8
From yesterday my API tests started to failing after updating dependencies from silex 2.2.4 to 2.3.0
which installed new symfony components in 4.x version
Update info:
Updating symfony/routing (v3.4.8 => v4.0.8): Loading from cache
Updating symfony/http-foundation (v3.4.8 => v4.0.8): Loading from cache
Updating symfony/event-dispatcher (v3.4.8 => v4.0.8): Loading from cache
Updating symfony/http-kernel (v3.4.8 => v4.0.8): Loading from cache
Updating silex/silex (v2.2.4 => v2.3.0): Loading from cache
In tests I get error:
Client error: GET http://localhost:8082/v1/countries/de.json resulted in a 404 Not Found
with content which I set in body: { name: Proxy-Germany, code: de }
It fails with new http foundation. In my case it is 4.0.8
From yesterday my API tests started to failing after updating dependencies from silex 2.2.4 to 2.3.0
which installed new symfony components in 4.x version
Update info:
In tests I get error:
Test code:
After many hours of investigation I noticed that I can fix it by replacing body method with callback:
I guessing that http mock library uses some old code that isn't present in 4.x versions.
Please fix issue.
Regards,
Pawel
The text was updated successfully, but these errors were encountered: