Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
chicco785 committed Oct 20, 2023
1 parent 0e27544 commit dccb0cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/grid/v1/topology_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ import (
)

func generateTopology(timestamp int64) *Topology {
tp, _ := os.ReadFile("FullGrid_TP.xml") // read the content of file
ssh, _ := os.ReadFile("FullGrid_SSH.xml") // read the content of file
tp, _ := os.ReadFile("FullGrid_TP.xml") // read the content of file

return &Topology{
CreatedAt: uint64(timestamp),
Tp: tp,
Ssh: ssh,
}
}

Expand Down

0 comments on commit dccb0cf

Please sign in to comment.