channeldb/migration_01_to_11: add references to untested migrations
This commit is contained in:
parent
6913cd64b6
commit
43449ca7a7
@ -950,3 +950,14 @@ func TestPaymentRouteSerialization(t *testing.T) {
|
|||||||
MigrateRouteSerialization,
|
MigrateRouteSerialization,
|
||||||
false)
|
false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TestNotCoveredMigrations only references migrations that are not referenced
|
||||||
|
// anywhere else in this package. This prevents false positives when linting
|
||||||
|
// with unused.
|
||||||
|
func TestNotCoveredMigrations(t *testing.T) {
|
||||||
|
_ = MigrateNodeAndEdgeUpdateIndex
|
||||||
|
_ = MigrateInvoiceTimeSeries
|
||||||
|
_ = MigrateInvoiceTimeSeriesOutgoingPayments
|
||||||
|
_ = MigrateEdgePolicies
|
||||||
|
_ = MigratePruneEdgeUpdateIndex
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user