Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
belokobylskii.i committed Mar 28, 2024
1 parent bdefab2 commit a28758a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/selprovider/apply_changes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestApplyChanges(t *testing.T) {
func testApplyChanges(t *testing.T, changeType ChangeType) {
t.Helper()
ctx := context.Background()
validZoneResponse := getValidResponseZoneALlBytes(t)
validZoneResponse := getValidResponseZoneAllBytes(t)
validRRSetResponse := getValidResponseRRSetAllBytes(t)
invalidZoneResponse := []byte(`{"invalid: "json"`)

Expand Down Expand Up @@ -83,7 +83,7 @@ func TestNoMatchingZoneFound(t *testing.T) {
t.Parallel()

ctx := context.Background()
validZoneResponse := getValidResponseZoneALlBytes(t)
validZoneResponse := getValidResponseZoneAllBytes(t)

mux := http.NewServeMux()
server := httptest.NewServer(mux)
Expand Down Expand Up @@ -111,7 +111,7 @@ func TestNoRRSetFound(t *testing.T) {
t.Parallel()

ctx := context.Background()
validZoneResponse := getValidResponseZoneALlBytes(t)
validZoneResponse := getValidResponseZoneAllBytes(t)
rrSets := getValidResponseRRSetAll()
rrSets.GetItems()[0].Name = "notfound.test.com"
validRRSetResponse, err := json.Marshal(rrSets)
Expand Down Expand Up @@ -327,7 +327,7 @@ func responseHandler(responseBody []byte, statusCode int) func(http.ResponseWrit
}
}

func getValidResponseZoneALlBytes(t *testing.T) []byte {
func getValidResponseZoneAllBytes(t *testing.T) []byte {
t.Helper()

zones := getValidZoneResponseAll()
Expand Down

0 comments on commit a28758a

Please sign in to comment.