Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
chuyich committed Aug 19, 2024
1 parent 2015a2a commit 10df77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/interfaces/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func TestGetClusterNodes(t *testing.T) {
want []ClusterNodeGetDataModelONTAP
wantErr bool
}{
{name: "test_no_records_1", responses: responses["test_no_records_1"], want: []ClusterNodeGetDataModelONTAP{}, wantErr: false},
{name: "test_no_records_1", responses: responses["test_no_records_1"], want: nil, wantErr: false},
{name: "test_one_record_1", responses: responses["test_one_record_1"], want: expectedOneRecord, wantErr: false},
{name: "test_two_records_1", responses: responses["test_two_records_1"], want: expectedTwoRecords, wantErr: false},
{name: "test_error_1", responses: responses["test_error_1"], want: nil, wantErr: true},
Expand Down

0 comments on commit 10df77e

Please sign in to comment.