fix: [NETWORK] regex from network call (#430)

Co-authored-by: Florent Champigny <florent@bere.al>
This commit is contained in:
Florent CHAMPIGNY 2025-12-03 14:54:55 +01:00 committed by GitHub
parent 397b8e0a77
commit 6bcfbf8e09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ class GenerateNetworkMockFromNetworkCallUseCase(
MockNetworkDomainModel(
id = Uuid.random().toString(), // generate
expectation = MockNetworkDomainModel.Expectation(
urlPattern = request.request.url,
urlPattern = Regex.escape(request.request.url),
method = request.request.method,
),
isEnabled = true, // enabled by default