IRC logs for #farmOS, 2022-02-27 (GMT)

2022-02-26
2022-02-28
TimeNickMessage
[06:48:58]<skipper_is[m]>Working on the testing for my quick form, there doesn't seem to be any validation on the birth one like there is on the planting, have attempted to put my own in... We shall see!
[08:03:09]<mstenta[m]>Awesome skipper_is ! Looks good!
[08:03:29]<mstenta[m]>I'm a bit confused why your tests passed though 😅
[08:03:49]<mstenta[m]>Your class extends from the base class that I started in another branch - but that doesn't exist in your branch... ??
[08:06:10]<mstenta[m]>Maybe this test isn't actually running 🤔
[08:07:38]<symbioquine[m]>Yeah, always best to start with a test that is confirmed to be failing, then make it pass by implementing the functionality it tests - or after the fact, unbreaking the code.
[08:08:05]<mstenta[m]>Oh! Maybe it's because the file name ends in `...Tests.php` and not `...Test.php`? Might need to be singular to get picked up?
[08:55:30]<skipper_is[m]>Ah possibly, although I would've thought the phpchecks would've picked that up