localgovdrupal / localgov_openreferral

Open Referral integration
0 stars 1 forks source link

Actually limit normalizers to openreferral format #25

Closed graham-web closed 2 years ago

graham-web commented 2 years ago

Incorrect property name $formats (vs $format in base class) allowed our normalizers to run against other serialization formats and muck up unrelated things.

ekes commented 2 years ago

Code does use correct variable name.

Would be good to get a test for it. Something to just test - does normalize / does not normalize would already be a start - as the module generally lacks tests (part of the reason it's experimental).

But happy to merge already.