Skip to content

Commit

Permalink
separate out load zarf state refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Aug 2, 2024
1 parent 4a0fed5 commit 1805467
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/pkg/cluster/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ package cluster

import (
"context"
"encoding/json"
"fmt"
"log"
"testing"
"time"

Expand All @@ -25,14 +23,6 @@ import (
)

func TestInitZarfState(t *testing.T) {
state := types.ZarfState{}

// Serialize the struct to JSON
validEmptyState, err := json.Marshal(state)
if err != nil {
log.Fatalf("Error serializing struct: %v", err)
}

tests := []struct {
name string
initOpts types.ZarfInitOptions
Expand Down Expand Up @@ -117,9 +107,6 @@ func TestInitZarfState(t *testing.T) {
Namespace: ZarfNamespaceName,
Name: ZarfStateSecretName,
},
Data: map[string][]byte{
ZarfStateDataKey: validEmptyState,
},
},
},
},
Expand Down

0 comments on commit 1805467

Please sign in to comment.