mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-09-25 07:15:01 -04:00
CodeRabbit flagged a possible case-sensitivity gap in getByMac() usage. No functional change needed - Devices.devMac is COLLATE NOCASE at the schema level, so getByMac()'s plain equality lookup is already case-insensitive (that's exactly why getAllByName() has to apply it explicitly and getByMac() doesn't - devName has no column collation). This test guards that lookup_device_mac() doesn't do anything of its own that would undo that.