diff --git a/cli/adapter/PndAdapter_test.go b/cli/adapter/PndAdapter_test.go index 6cccc35128488a9eb17e605c3958f0b60fa0b50c..1feb4519a07938a16582897b91324a4fbe340a67 100644 --- a/cli/adapter/PndAdapter_test.go +++ b/cli/adapter/PndAdapter_test.go @@ -384,7 +384,7 @@ func TestPndAdapter_PendingChanges(t *testing.T) { id: tt.fields.id, endpoint: tt.fields.endpoint, } - if got := p.PendingChanges(); !reflect.DeepEqual(got, tt.want) { + if got, _ := p.PendingChanges(); !reflect.DeepEqual(got, tt.want) { t.Errorf("PndAdapter.PendingChanges() = %v, want %v", got, tt.want) } }) @@ -409,7 +409,7 @@ func TestPndAdapter_CommittedChanges(t *testing.T) { id: tt.fields.id, endpoint: tt.fields.endpoint, } - if got := p.CommittedChanges(); !reflect.DeepEqual(got, tt.want) { + if got, _ := p.CommittedChanges(); !reflect.DeepEqual(got, tt.want) { t.Errorf("PndAdapter.CommittedChanges() = %v, want %v", got, tt.want) } })