diff options
| author | Your Name <you@example.com> | 2026-05-18 19:55:33 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-18 19:55:33 +0530 |
| commit | 65b4c9dc8626757f5f7cda279881b059e926916c (patch) | |
| tree | 7f41d7faf5cd3bd86344eda056fc56269b646225 /tests/unit | |
| parent | 78d0c3795e9a90a9f99178e38346a53d9b2ebe57 (diff) | |
fix: divide-by-zero crash when no WiFi networks configured
- Guard tollgate_config_get_next_wifi against network_count=0
- Add fallback parsing for wifi_ssid/wifi_password flat fields
- Add heap info to API server failure log for debugging
- All 75 unit tests passing
Diffstat (limited to 'tests/unit')
| -rwxr-xr-x | tests/unit/test_cvm_server | bin | 0 -> 45728 bytes |
| -rwxr-xr-x | tests/unit/test_geohash | bin | 20776 -> 20784 bytes |
| -rwxr-xr-x | tests/unit/test_identity | bin | 297880 -> 297888 bytes |
| -rwxr-xr-x | tests/unit/test_lightning_payout | bin | 20552 -> 20560 bytes |
| -rwxr-xr-x | tests/unit/test_lnurl_pay | bin | 21304 -> 21312 bytes |
| -rwxr-xr-x | tests/unit/test_mcp_handler | bin | 38736 -> 63056 bytes |
| -rwxr-xr-x | tests/unit/test_mint_health | bin | 0 -> 36792 bytes |
| -rwxr-xr-x | tests/unit/test_nip04 | bin | 298776 -> 298792 bytes |
| -rwxr-xr-x | tests/unit/test_tollgate_client | bin | 51992 -> 52072 bytes |
9 files changed, 0 insertions, 0 deletions
diff --git a/tests/unit/test_cvm_server b/tests/unit/test_cvm_server new file mode 100755 index 0000000..8f0b605 --- /dev/null +++ b/tests/unit/test_cvm_server | |||
| Binary files differ | |||
diff --git a/tests/unit/test_geohash b/tests/unit/test_geohash index dc5045f..46d0e6f 100755 --- a/tests/unit/test_geohash +++ b/tests/unit/test_geohash | |||
| Binary files differ | |||
diff --git a/tests/unit/test_identity b/tests/unit/test_identity index 277bb49..d0ff402 100755 --- a/tests/unit/test_identity +++ b/tests/unit/test_identity | |||
| Binary files differ | |||
diff --git a/tests/unit/test_lightning_payout b/tests/unit/test_lightning_payout index b10888c..c6aaa5f 100755 --- a/tests/unit/test_lightning_payout +++ b/tests/unit/test_lightning_payout | |||
| Binary files differ | |||
diff --git a/tests/unit/test_lnurl_pay b/tests/unit/test_lnurl_pay index 1f16293..61c9743 100755 --- a/tests/unit/test_lnurl_pay +++ b/tests/unit/test_lnurl_pay | |||
| Binary files differ | |||
diff --git a/tests/unit/test_mcp_handler b/tests/unit/test_mcp_handler index b5d6a85..a001641 100755 --- a/tests/unit/test_mcp_handler +++ b/tests/unit/test_mcp_handler | |||
| Binary files differ | |||
diff --git a/tests/unit/test_mint_health b/tests/unit/test_mint_health new file mode 100755 index 0000000..2a48ad2 --- /dev/null +++ b/tests/unit/test_mint_health | |||
| Binary files differ | |||
diff --git a/tests/unit/test_nip04 b/tests/unit/test_nip04 index cb52040..cbf4c80 100755 --- a/tests/unit/test_nip04 +++ b/tests/unit/test_nip04 | |||
| Binary files differ | |||
diff --git a/tests/unit/test_tollgate_client b/tests/unit/test_tollgate_client index f9b0f7d..8077223 100755 --- a/tests/unit/test_tollgate_client +++ b/tests/unit/test_tollgate_client | |||
| Binary files differ | |||