Skip to content

Commit

Permalink
removed test no longer relavent
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmack committed Mar 28, 2022
1 parent 19f788b commit c145175
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions dot/build_spec_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package dot

import (
"encoding/json"
"fmt"
"os"
"path/filepath"
"testing"
Expand Down Expand Up @@ -69,17 +68,6 @@ func TestBuildFromGenesis_WhenGenesisDoesNotExists(t *testing.T) {
require.ErrorIs(t, err, os.ErrNotExist)
}

func TestWriteGenesisSpecFileWhenFileAlreadyExists(t *testing.T) {
t.Parallel()

filePath := filepath.Join(t.TempDir(), "genesis.raw")
someBytes := []byte("Testing some bytes")
err := WriteGenesisSpecFile(someBytes, filePath)

require.EqualError(t, err,
fmt.Sprintf("file %s already exists, rename to avoid overwriting", filePath))
}

func TestWriteGenesisSpecFile_Integration(t *testing.T) {
cfg := NewTestConfig(t)
cfg.Init.Genesis = utils.GetGssmrGenesisRawPathTest(t)
Expand Down

0 comments on commit c145175

Please sign in to comment.