Skip to content

Commit

Permalink
Align tests to new expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanratcliffe committed Dec 9, 2024
1 parent dfc4bec commit e12ea3c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions adapterhelpers/always_get_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ func TestAlwaysGetSourceList(t *testing.T) {
lgs.ListStream(context.Background(), "foo.bar", false, stream)
stream.Close()

if len(errs) != 0 {
t.Fatalf("expected 0 error, got %v", len(errs))
if len(errs) != 6 {
t.Fatalf("expected 6 error, got %v", len(errs))
}

if len(items) != 0 {
Expand Down Expand Up @@ -429,8 +429,8 @@ func TestAlwaysGetSourceSearch(t *testing.T) {
lgs.SearchStream(context.Background(), "foo.bar", "id", false, stream)
stream.Close()

if len(errs) != 0 {
t.Errorf("expected 0 error, got %v", len(errs))
if len(errs) != 6 {
t.Errorf("expected 6 error, got %v", len(errs))
}

if len(items) != 0 {
Expand Down

0 comments on commit e12ea3c

Please sign in to comment.