multi: rename MakeTestGraphNew to MakeTestGraph

This commit is contained in:
Elle Mouton committed 2025-06-26 10:12:30 +02:00
1 parent c06036d2b4
commit 3ccaacd16f
7 files changed
+46 -46

No files matched your search

+2 -2
View File
@@ -594,7 +594,7 @@ func (c *ChannelGraph) UpdateEdgePolicy(ctx context.Context,
return nil
}
// MakeTestGraphNew creates a new instance of the ChannelGraph for testing
// MakeTestGraph creates a new instance of the ChannelGraph for testing
// purposes. The backing V1Store implementation depends on the version of
// NewTestDB included in the current build.
//
@@ -603,7 +603,7 @@ func (c *ChannelGraph) UpdateEdgePolicy(ctx context.Context,
// implemented, unit tests will be switched to use this function instead of
// the existing MakeTestGraph helper. Once only this function is used, the
// existing MakeTestGraph function will be removed and this one will be renamed.
func MakeTestGraphNew(t testing.TB,
func MakeTestGraph(t testing.TB,
opts ...ChanGraphOption) *ChannelGraph {
t.Helper()