Closed ReDev1L closed 5 years ago
Thanks a lot @ReDev1L
Could you add this new "field" in the tests ?
Thanks a lot @ReDev1L
Could you add this new "field" in the tests ?
Dunno if it(yandex geocoder API) will return right kind for test, dont have phpunit atm, will fix later if not
UPD: actually it should pass:
"Point":{"pos":"30.324285 60.036843"},"kind":"metro"}}
Test seems okay 👍
But could you add it for the other tests as well ? Thanks !
You dont have "name", "precision"(and now "kind") properties assertion in other tests, because other tests based on Location interface, not on YandexAddress model. I wont add them, you should split that task in another issue, because small refactor of tests required
Indeed, you're right !
I'll merge your PR in the next few days ! Thanks a lot ! 👍
And if you have the courage to update the tests with YandexAddress
model, feel free to sumbit a new PR 😄
Thank you too. My courage will be depleted today, because i need to get Russian federal subjects by yandex geocoder :))
I updated the tests : #919
@ReDev1L Version 4.1.0 is released : https://github.com/geocoder-php/yandex-provider/releases/tag/4.1.0
Thanks again for your help 👍
Thank you too =)
Pull request adds "Location kind": https://tech.yandex.ru/maps/doc/geocoder/desc/reference/kind-docpage/
Actually nothing special here