Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Nov 23, 2022
1 parent 1fa3344 commit e458ecf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions local/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,8 @@ func TestWriteFiles(t *testing.T) {
stakingKeyFlag := fmt.Sprintf("--%s=%v", config.StakingTLSKeyPathKey, stakingKeyPath)
stakingCertPath := filepath.Join(tmpDir, stakingCertFileName)
stakingCertFlag := fmt.Sprintf("--%s=%v", config.StakingCertPathKey, stakingCertPath)
stakingSigningKeyPath := filepath.Join(tmpDir, stakingSigningKeyFileName)
stakingSigningKeyFlag := fmt.Sprintf("--%s=%v", config.StakingSignerKeyPathKey, stakingSigningKeyPath)
genesisPath := filepath.Join(tmpDir, genesisFileName)
genesisFlag := fmt.Sprintf("--%s=%v", config.GenesisConfigFileKey, genesisPath)
configFilePath := filepath.Join(tmpDir, configFileName)
Expand Down Expand Up @@ -1167,6 +1169,7 @@ func TestWriteFiles(t *testing.T) {
expectedFlags: []string{
stakingKeyFlag,
stakingCertFlag,
stakingSigningKeyFlag,
genesisFlag,
chainConfigDirFlag,
subnetConfigDirFlag,
Expand All @@ -1184,6 +1187,7 @@ func TestWriteFiles(t *testing.T) {
expectedFlags: []string{
stakingKeyFlag,
stakingCertFlag,
stakingSigningKeyFlag,
genesisFlag,
configFileFlag,
chainConfigDirFlag,
Expand All @@ -1203,6 +1207,7 @@ func TestWriteFiles(t *testing.T) {
expectedFlags: []string{
stakingKeyFlag,
stakingCertFlag,
stakingSigningKeyFlag,
genesisFlag,
configFileFlag,
chainConfigDirFlag,
Expand Down

0 comments on commit e458ecf

Please sign in to comment.