#microformats 2022-07-11

2022-07-11 UTC
petermolnar, gRegor and [aciccarello] joined the channel
#
gRegor
I'm not sure the best way to add unit tests for https://github.com/indieweb/indiewebify-me/pull/101
#
Loqi
[gRegorLove] #101 Update validate-h-card
#
gRegor
Not really testing the representative h-card parsing itself (that's in the php-mf-cleaner lib), but the success/error messages shown, so I think I'd need to mock the HTTP request to /validate-h-card and parse the response.
#
gRegor
Could add mf2 on the response page, maybe with a p-summary and check that? Seems like a lot of hoops though. mock http > get HTML > parse mf2 > assert based on some value in mf2
#
gRegor
Is it enough to have the three working links on my test install? Heh
#
gRegor
Oops, should be indieweb-dev
#
gRegor
Moved over there
#
gRegor
On topic, though, could I get a review/approval on https://github.com/microformats/php-mf2/pull/241? It's a small one, just adds some tests to confirm an issue was previously fixed.
#
Loqi
[gRegorLove] #241 vevent location backcompat
Kaja, barpthewire, JSharp, phae, gRegor, juno, jacky, [snarfed], ur5us, earljman, [benatwork], gRegorLove_ and [manton] joined the channel