mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
Add testSuperMacaroonOnStartup to verify startup baking logic. The test restarts the node with the auto-baking config flags and asserts the macaroon is baked with read-only or read-write permissions accordingly. Also add validation tests verifying that starting with an invalid path suffix or in stateless-init mode with baking enabled fails as expected. Verify permission addition/expansion by starting the node with sub-servers disabled and then restarting with sub-servers re-enabled. Also verify the none config choice, asserting that no super macaroon file is baked/created on startup. |
||
|---|---|---|
| .. | ||
| assertions.go | ||
| litd_accounts_test.go | ||
| litd_firewall_test.go | ||
| litd_migration_test.go | ||
| litd_mode_integrated_test.go | ||
| litd_mode_remote_test.go | ||
| litd_node.go | ||
| litd_stateless_init_test.go | ||
| litd_test.go | ||
| litd_test_list_off_test.go | ||
| litd_test_list_on_test.go | ||
| log.go | ||
| network_harness.go | ||
| server_harness.go | ||
| test_harness.go | ||